Skip to content

Commit

Permalink
Update trivy scanner gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arniesaha committed Nov 21, 2023
1 parent 3e0fe6c commit 6750b38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/trivy-docker-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
scan-ref: './Dockerfile'
hide-progress: false
template: '@/contrib/gitlab.tpl'
format: 'sarif'
format: 'table'
#output: ''
output: 'trivy-results-docker.sarif'
# output: 'trivy-results-docker.sarif'
exit-code: '1'
#ignore-unfixed: true
severity: 'CRITICAL,HIGH,MEDIUM'

- name: Upload Trivy Docker Scan Results To GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results-docker.sarif'
# - name: Upload Trivy Docker Scan Results To GitHub Security tab
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: 'trivy-results-docker.sarif'

0 comments on commit 6750b38

Please sign in to comment.