mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-21 23:00:42 -08:00
feat(vuln): support non-packaged binaries (#3019)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user