Skip to content

Commit

Permalink
use example values
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed May 9, 2024
1 parent 59009fe commit c6ccd9e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
name: Trivy SAST Scan
name: Trivy config Scan
runs-on: "ubuntu-20.04"
steps:
- name: Checkout code
Expand All @@ -33,15 +33,15 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'config'
hide-progress: true
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
# ignore-unfixed: true
# format: 'sarif'
# output: 'trivy-results.sarif'
output: 'table'
# scanners: 'vuln,secret,config'


# - 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 c6ccd9e

Please sign in to comment.