From 258c6ddd462be66029dcc1f9357f3ca795e8dc3c Mon Sep 17 00:00:00 2001 From: gillettmoj Date: Wed, 16 Oct 2024 09:08:48 +0100 Subject: [PATCH] Add java db to trivy job (#2874) --- .github/workflows/_build-and-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/_build-and-push.yml b/.github/workflows/_build-and-push.yml index c810264fa4..b2d8aa636d 100644 --- a/.github/workflows/_build-and-push.yml +++ b/.github/workflows/_build-and-push.yml @@ -267,6 +267,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TRIVY_DB_REPOSITORY: ${{ steps.login_ecr.outputs.registry }}/trivy-db-public-ecr/aquasecurity/trivy-db:2 + TRIVY_JAVA_DB_REPOSITORY: ${{ steps.login_ecr.outputs.registry }}/trivy-db-public-ecr/aquasecurity/trivy-java-db:1 with: image-ref: ${{ matrix.svc_prefix }}_${{ matrix.svc_suffix }}:latest severity: 'HIGH,CRITICAL'