Skip to content

Commit

Permalink
Fix TOOMANYREQUESTS failure in Trivy Action
Browse files Browse the repository at this point in the history
Signed-off-by: lou-lan <[email protected]>
  • Loading branch information
lou-lan committed Nov 13, 2024
1 parent f78ad8e commit c8e3aab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/call-trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,24 @@ jobs:
# https://github.com/aquasecurity/trivy-action/issues/313
- name: Scan agent
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-agent.tar
severity: 'CRITICAL,HIGH'

- name: Scan controller
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-controller.tar
severity: 'CRITICAL,HIGH'

- name: Scan nettools
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-nettools.tar
severity: 'CRITICAL,HIGH'

0 comments on commit c8e3aab

Please sign in to comment.