mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
chore(modules): update trivy to the tip of main (#1901)
Includes https://github.com/aquasecurity/trivy/commit/ce89d083453f2293d8176c2ac9f4efa0fdf68095 Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -524,7 +524,7 @@ func (scanner Scanner) updateDB(dbDir string) error {
|
||||
}
|
||||
|
||||
if scanner.javaDBRepository != "" {
|
||||
javadb.Init(dbDir, scanner.javaDBRepository, false, false, registryOpts.Insecure)
|
||||
javadb.Init(dbDir, scanner.javaDBRepository, false, false, registryOpts)
|
||||
|
||||
if err := javadb.Update(); err != nil {
|
||||
scanner.log.Error().Err(err).Str("dbDir", dbDir).
|
||||
|
||||
Reference in New Issue
Block a user