feat(libscan): support trivy v0.23.0 (#1377)
* feat(libscan): support trivy v0.23.0 * fix lint err * review
This commit is contained in:
@@ -682,7 +682,7 @@ func AnalyzeLibraries(ctx context.Context, libFilemap map[string]LibFile, isOffl
|
||||
analyzer.TypeDockerfile,
|
||||
analyzer.TypeHCL,
|
||||
}
|
||||
anal := analyzer.NewAnalyzer(disabledAnalyzers)
|
||||
anal := analyzer.NewAnalyzerGroup(analyzer.GroupBuiltin, disabledAnalyzers)
|
||||
|
||||
for path, f := range libFilemap {
|
||||
var wg sync.WaitGroup
|
||||
|
||||
Reference in New Issue
Block a user