mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
BREAKING: add new classes for vulnerabilities (#2541)
This commit is contained in:
@@ -102,7 +102,7 @@ func (w Writer) Write(report types.Report) error {
|
||||
|
||||
manifest := Manifest{}
|
||||
manifest.Name = result.Type
|
||||
//show path for languages only
|
||||
// show path for language-specific packages only
|
||||
if result.Class == types.ClassLangPkg {
|
||||
manifest.File = &File{
|
||||
SrcLocation: result.Target,
|
||||
|
||||
Reference in New Issue
Block a user