Skip to content

Commit

Permalink
Set custom Trivy DB repository in GitHub Action env
Browse files Browse the repository at this point in the history
  • Loading branch information
KRANTHI0918 authored and gourishkb committed Nov 18, 2024
1 parent 403decd commit d54ebc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db"

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit d54ebc5

Please sign in to comment.