From f46636ac4b50e94af7dc7eac3a613f534f4ccd48 Mon Sep 17 00:00:00 2001 From: Sumanth Lingappa <42572246+sumanth-lingappa@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:15:13 +0530 Subject: [PATCH] Update trivy.yml --- .github/workflows/trivy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index d4ef26a1c..b95d0d3c3 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -17,11 +17,13 @@ jobs: with: scan-type: "fs" ignore-unfixed: true + exit-code: '1' format: "sarif" output: "trivy-results.sarif" severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL" - name: Upload Trivy scan results to GitHub Security tab uses: github/codeql-action/upload-sarif@v3 + if: always() with: sarif_file: "trivy-results.sarif"