Skip to content

Commit 2e70ea9

Browse files
authored
Merge pull request #1336 from stackhpc/trivy-fix-2023.1
trivy: Add more repositories to handle rate limits
2 parents 57287fb + 0205825 commit 2e70ea9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/scan-images.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ for image in $images; do
5454
--severity HIGH,CRITICAL \
5555
--output image-scan-output/${filename}.json \
5656
--ignore-unfixed \
57+
--db-repository ghcr.io/aquasecurity/trivy-db:2 \
58+
--db-repository public.ecr.aws/aquasecurity/trivy-db \
59+
--java-db-repository ghcr.io/aquasecurity/trivy-java-db:1 \
60+
--java-db-repository public.ecr.aws/aquasecurity/trivy-java-db \
5761
$image); then
5862
# Clean up the output file for any images with no vulnerabilities
5963
rm -f image-scan-output/${filename}.json

0 commit comments

Comments
 (0)