Skip to content

Commit

Permalink
fix(trivy): prevent rate-limit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tmberthold authored Oct 9, 2024
1 parent 853420e commit 1dc1d3b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/license_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
uses: actions/checkout@v3

- name: Run license scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db #mirror because of https://github.com/aquasecurity/trivy-action/issues/389
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db #mirror because of https://github.com/aquasecurity/trivy-action/issues/389
with:
scan-type: "rootfs"
scan-ref: "."
Expand All @@ -32,7 +35,10 @@ jobs:
- name: npm install (authority-portal-frontend)
run: cd authority-portal-frontend && npm install
- name: Run license scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db #mirror because of https://github.com/aquasecurity/trivy-action/issues/389
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db #mirror because of https://github.com/aquasecurity/trivy-action/issues/389
with:
scan-type: "repo"
scan-ref: "."
Expand Down

0 comments on commit 1dc1d3b

Please sign in to comment.