Skip to content

Commit

Permalink
Merge pull request #156 from catenax-ng/fix-trivy
Browse files Browse the repository at this point in the history
chore: Updated trivy workflow
  • Loading branch information
almadigabor authored May 23, 2024
2 parents 44c5c10 + 8f33b5d commit 114af9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name: "Trivy"

on:
schedule:
- cron: "0 0 * * 0"
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
Expand All @@ -41,7 +41,6 @@ jobs:
image-ref: "tractusx/sdfactory:latest" # Pull image from Docker Hub and run Trivy vulnerability scanner
format: "sarif"
output: "trivy-results.sarif"
exit-code: "1" # Trivy exits with code 1 if vulnerabilities are found, causing the workflow step to fail.
severity: "CRITICAL,HIGH" # While vulnerabilities of all severities are reported in the SARIF output, the exit code and workflow failure are triggered only by these specified severities (CRITICAL or HIGH).
hide-progress: false

Expand Down

0 comments on commit 114af9a

Please sign in to comment.