Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamSrikantheppa authored May 20, 2024
1 parent dd412b2 commit cf9ca53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,12 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,LOW,MEDIUM,HIGH'
vuln-type: 'os,library'
scanners: 'vuln,secret'


- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down Expand Up @@ -260,6 +262,8 @@ jobs:
severity: 'CRITICAL,HIGH,MEDIUM,LOW'
github-pat: ${{ secrets.PAT_TOKEN }}
docker-host: //var/run/docker.sock
vuln-type: 'os,library'
scanners: 'vuln,secret'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit cf9ca53

Please sign in to comment.