Skip to content

Commit

Permalink
use ECR DB when scanning repo with Trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Nov 7, 2024
1 parent 77a17af commit b5ee9b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scan-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1
with:
scan-type: 'fs'
ignore-unfixed: true
Expand Down

0 comments on commit b5ee9b3

Please sign in to comment.