Skip to content

Commit

Permalink
update trivy-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Sep 13, 2024
1 parent b4ce800 commit 6a02d2a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
format: "sarif"
output: "trivy-dotnet-results.sarif"
scan-type: "repo"
scan-type: "fs"
scan-ref: "./CSETWebApi"
severity: "CRITICAL,HIGH"

Expand All @@ -37,14 +37,14 @@ jobs:
- name: Run vulnerability scanner
uses: aquasecurity/[email protected]
with:
# format: "sarif"
# output: "trivy-nodejs-results.sarif"
scan-type: "repo"
format: "sarif"
output: "trivy-nodejs-results.sarif"
scan-type: "fs"
scan-ref: "./CSETWebNg"
severity: "CRITICAL,HIGH"

# - name: Upload scan results to Security tab
# uses: github/codeql-action/upload-sarif@v3
# with:
# category: "Node.js"
# sarif_file: "trivy-nodejs-results.sarif"
- name: Upload scan results to Security tab
uses: github/codeql-action/upload-sarif@v3
with:
category: "Node.js"
sarif_file: "trivy-nodejs-results.sarif"

0 comments on commit 6a02d2a

Please sign in to comment.