diff --git a/Dockerfile b/Dockerfile index efda6ff..521c769 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # That's the only place where you're supposed to specify version of Trivy. -ARG TRIVY_VERSION=0.50.1 +ARG TRIVY_VERSION=0.50.4 FROM aquasec/trivy:${TRIVY_VERSION} diff --git a/README.md b/README.md index 7b660f2..1e407fe 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ The following matrix indicates the version of Trivy and Trivy adapter installed | Harbor | Trivy Adapter | Trivy | |------------------|---------------|-----------------| +| - | v0.31.1 | [trivy v0.50.4] | | - | v0.31.0 | [trivy v0.50.1] | | - | v0.30.23 | [trivy v0.50.1] | | - | v0.30.22 | [trivy v0.49.1] | diff --git a/test/component/component_test.go b/test/component/component_test.go index 4885a12..e7ebf2d 100644 --- a/test/component/component_test.go +++ b/test/component/component_test.go @@ -5,12 +5,13 @@ package component import ( "context" "fmt" - "github.com/aquasecurity/harbor-scanner-trivy/pkg/http/api" "net/url" "path/filepath" "testing" "time" + "github.com/aquasecurity/harbor-scanner-trivy/pkg/http/api" + "github.com/aquasecurity/harbor-scanner-trivy/pkg/harbor" "github.com/aquasecurity/harbor-scanner-trivy/test/component/docker" "github.com/aquasecurity/harbor-scanner-trivy/test/component/scanner" @@ -25,7 +26,7 @@ var ( trivyScanner = harbor.Scanner{ Name: "Trivy", Vendor: "Aqua Security", - Version: "0.50.1", + Version: "0.50.4", } )