Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(trivy): prevent rate-limit issues #867

Merged
merged 9 commits into from
Oct 9, 2024
Prev Previous commit
Next Next commit
fix(trivy): prevent rate-limit issues
  • Loading branch information
tmberthold authored Oct 9, 2024
commit 79a263e6a45ab7d950d3ef04b3a5871707fd84f7
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/trivy-action@0.26.0
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 @@ -28,7 +31,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Run license scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.26.0
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
Loading