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 1d25cc4 commit a76492b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test-generated-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@ jobs:
- name: Run trivy linter
uses: aquasecurity/[email protected]
with:
image-ref: '.'
output: 'trivy-results.sarif'
scan-type: 'fs'
scan-ref: '.'
hide-progress: false
trivy-config: trivy.yaml

- 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 a76492b

Please sign in to comment.