Skip to content

Commit

Permalink
feat(sec): add db-repository (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski authored Oct 1, 2024
1 parent 8b87d26 commit 6ba6af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/sec/trivy
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
set -e

# Scan using trivy.
trivy repo --exit-code 1 --severity CRITICAL ./
trivy image --exit-code 1 --severity CRITICAL "alexfalkowski/$1:test"
trivy repo --db-repository public.ecr.aws/aquasecurity/trivy-db:2 --exit-code 1 --severity CRITICAL ./
trivy image --db-repository public.ecr.aws/aquasecurity/trivy-db:2 --exit-code 1 --severity CRITICAL "alexfalkowski/$1:test"

0 comments on commit 6ba6af8

Please sign in to comment.