diff --git a/go.mod b/go.mod index a2fcb598..c6e44ba1 100644 --- a/go.mod +++ b/go.mod @@ -26,6 +26,7 @@ require ( github.com/agnivade/levenshtein v1.1.1 // indirect github.com/alecthomas/chroma v0.10.0 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect + github.com/aquasecurity/trivy-policies v0.9.1-0.20240212232053-c450017d5624 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 // indirect github.com/cenkalti/backoff/v4 v4.2.1 // indirect diff --git a/scripts/verify-bundle.go b/scripts/verify-bundle.go index e06b0639..eda79970 100644 --- a/scripts/verify-bundle.go +++ b/scripts/verify-bundle.go @@ -69,7 +69,7 @@ func createTrivyContainer(ctx context.Context, regIP string) testcontainers.Cont HostConfigModifier: func(config *container.HostConfig) { config.NetworkMode = "host" }, - WaitingFor: wait.ForLog("Checks successfully loaded from disk"), + WaitingFor: wait.ForLog("Policies successfully loaded from disk"), } trivyC, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{ ContainerRequest: reqTrivy,