Skip to content

Commit

Permalink
Update scan.yml with limit-severities-for-sarif: true
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchmidt authored Nov 6, 2024
1 parent c91e0ea commit 87b8984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL,HIGH"
limit-severities-for-sarif: true
exit-code: "1" # Fail the build!
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@65c74964a9ed8c44ed9f19d4bbc5757a6a8e9ab9 # == v2
Expand Down

0 comments on commit 87b8984

Please sign in to comment.