mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
feat: support multiple DB repositories for vulnerability and Java DB (#7605)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
This commit is contained in:
@@ -62,7 +62,7 @@ func NewFakeDB(t *testing.T, dbPath string, opts FakeDBOptions) *oci.Artifact {
|
||||
opt := ftypes.RegistryOptions{
|
||||
Insecure: false,
|
||||
}
|
||||
return oci.NewArtifact("dummy", true, opt, oci.WithImage(img))
|
||||
return oci.NewArtifact("dummy", opt, oci.WithImage(img))
|
||||
}
|
||||
|
||||
func ArchiveDir(t *testing.T, dir string) string {
|
||||
|
||||
Reference in New Issue
Block a user