feat(vuln): support non-packaged binaries (#3019)

This commit is contained in:
Teppei Fukuda
2022-10-25 20:02:53 +03:00
committed by GitHub
parent 18581f345b
commit 02a73f0138
36 changed files with 1184 additions and 478 deletions

View File

@@ -433,6 +433,10 @@ func disabledAnalyzers(opts flag.Options) []analyzer.Type {
analyzers = append(analyzers, analyzer.TypeLicenseFile)
}
if len(opts.SBOMSources) == 0 {
analyzers = append(analyzers, analyzer.TypeExecutable)
}
return analyzers
}