Skip to content

Commit

Permalink
Merge pull request #440 from bci-oss/chore/adjust-trivy-scan
Browse files Browse the repository at this point in the history
Adjust trivy scan workflow (exit 1)
  • Loading branch information
tunacicek authored Jul 8, 2024
2 parents e6c000e + 960773e commit a2d27ba
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 @@ -86,6 +86,8 @@ jobs:
image-ref: "tractusx/sldt-digital-twin-registry:latest"
# ignore-unfixed: true
hide-progress: false
exit-code: "1" # Trivy exits with code 1 if vulnerabilities are found, causing the workflow step to fail.
limit-severities-for-sarif: true
format: "sarif"
output: "trivy-results-registry.sarif"
vuln-type: "os,library"
Expand Down

0 comments on commit a2d27ba

Please sign in to comment.