Skip to content

Commit

Permalink
Trivy too many requests workaround (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
senthil10 authored Oct 31, 2024
1 parent ca80c1c commit c9f0967
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/trivy-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'
uses: aquasecurity/[email protected]
with:
scan-type: "fs"
ignore-unfixed: true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/trivy-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: echo REPOSITORY_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: 'ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db'
uses: aquasecurity/[email protected]
with:
image-ref: 'ghcr.io/${{ env.REPOSITORY_OWNER }}/pathogens-portal:develop'
format: 'sarif'
Expand Down

0 comments on commit c9f0967

Please sign in to comment.