Skip to content

Commit 980a039

Browse files
committed
ci: add explicit scanners to Trivy configuration
Enable vuln, secret, and misconfig scanners explicitly
1 parent 351ea5c commit 980a039

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/security.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
format: "sarif"
6565
output: "trivy-results.sarif"
6666
severity: "LOW,MEDIUM,HIGH,CRITICAL"
67+
scanners: "vuln,secret,misconfig"
6768

6869
- name: Upload Trivy scan results to GitHub Security tab
6970
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)