Skip to content

Commit

Permalink
try output as table
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed May 9, 2024
1 parent 8e2a7db commit e55a3e6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: trivy

on:
push:
branches: [ "add-trivy-to-ci", "develop", "main-DEPRECATED", "release/*" ]
branches: [ "develop", "main-DEPRECATED", "release/*" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "develop" ]
Expand Down Expand Up @@ -36,11 +36,12 @@ jobs:
severity: 'CRITICAL,HIGH'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
# output: 'trivy-results.sarif'
output: 'table'
scanners: 'vuln, config, secrets'


- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'
# - 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 e55a3e6

Please sign in to comment.