-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fdfa3ce
commit f89c397
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,17 +18,18 @@ jobs: | |
- name: Run vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
with: | ||
# format: "sarif" | ||
# output: "trivy-dotnet-results.sarif" | ||
scan-type: "fs" | ||
format: "sarif" | ||
output: "trivy-dotnet-results.sarif" | ||
scan-type: "repo" | ||
scan-ref: "./CSETWebApi" | ||
severity: "CRITICAL,HIGH" | ||
|
||
# - name: Upload scan results to Security tab | ||
# uses: github/codeql-action/upload-sarif@v3 | ||
# with: | ||
# category: ".NET" | ||
# sarif_file: "trivy-dotnet-results.sarif" | ||
- name: Upload scan results to Security tab | ||
uses: github/codeql-action/upload-sarif@v3 | ||
if: always() | ||
with: | ||
category: ".NET" | ||
sarif_file: "trivy-dotnet-results.sarif" | ||
|
||
# nodejs: | ||
# name: Node.js Analysis | ||
|