Skip to content

Commit

Permalink
[#227] Update trivy scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
nvminhtue committed Jan 9, 2024
1 parent 35f5e2f commit 4de37c1
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ jobs:
uses: aquasecurity/[email protected]
with:
image-ref: '.'
scan-type: 'fs'
ignore-unfixed: true
scan-type: 'config'
hide-progress: false
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
trivy-config: trivy.yaml

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

0 comments on commit 4de37c1

Please sign in to comment.