From 9548950e2669b7639ab254f136a67f3c08a72e27 Mon Sep 17 00:00:00 2001 From: dotasek Date: Mon, 7 Oct 2024 16:27:49 -0400 Subject: [PATCH] trivy rate limit workaround --- .github/workflows/trivy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 5eb17bc..09cc3e6 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -18,6 +18,10 @@ jobs: - name: Run static analysis uses: aquasecurity/trivy-action@master + env: + # temporary workaround for rate limiting on github + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db with: scan-type: 'fs' vuln-type: 'library'