Skip to content

Commit

Permalink
refactor: trivy scan to table format
Browse files Browse the repository at this point in the history
  • Loading branch information
baizon committed Jul 18, 2024
1 parent 32bc3d6 commit 28b5e45
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ on:
pull_request:
branches:
- master
- feature/trivy_remove_upload
push:
branches:
- master
- feature/trivy_remove_upload
jobs:
trivy:
permissions:
Expand All @@ -20,10 +22,7 @@ jobs:
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH'
- 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 28b5e45

Please sign in to comment.