Skip to content

Commit

Permalink
Update trivyScan.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wmuldergov authored Oct 22, 2024
1 parent a576b36 commit 9fde5cd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/trivyScan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
image-ref: 'ghcr.io/bcgov/drivebc.ca-caching:latest-prd'
format: 'sarif'
output: 'trivy-results.sarif'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
limit-severities-for-sarif: true

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
Expand All @@ -39,8 +43,12 @@ jobs:
image-ref: 'ghcr.io/bcgov/drivebc.ca-caching-openshiftjobs:latest-prd'
format: 'sarif'
output: 'trivy-results.sarif'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
limit-severities-for-sarif: true

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'trivy-results.sarif'

0 comments on commit 9fde5cd

Please sign in to comment.