BREAKING: add new classes for vulnerabilities (#2541)

This commit is contained in:
Teppei Fukuda
2022-07-31 10:47:08 +03:00
committed by GitHub
parent 3cd88abec5
commit f396c677a2
51 changed files with 332 additions and 214 deletions

View File

@@ -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,