Skip to content

Commit

Permalink
Update trivy-vulnerability.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantprateek committed Feb 23, 2024
1 parent a94456b commit da1cf61
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/trivy-vulnerability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,3 @@ jobs:
body: Update the vulnerability list
branch: update-vulnerabilities


configuration-scanner:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scanners: 'config'
scan-ref: './cns-website'
hide-progress: false
format: 'sarif'
ignore-unfixed: true
exit-code: '0'
severity: 'CRITICAL,HIGH'
output: 'trivy-results.sarif'
trivy-config: trivy.yaml
-
name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'

0 comments on commit da1cf61

Please sign in to comment.