Skip to content

Commit 7013bc0

Browse files
committed
fix: [#251] focus CVE scanning only, display all issues for visibility
1 parent c13afa8 commit 7013bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docker-security-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ jobs:
5050
format: "table"
5151
severity: "HIGH,CRITICAL"
5252
exit-code: "0" # Don't fail here, just display
53-
scanners: "vuln" # Only vulnerabilities, skip secrets (test containers have legitimate SSH keys)
5453

5554
- name: Run Trivy vulnerability scanner
5655
uses: aquasecurity/[email protected]
@@ -99,6 +98,7 @@ jobs:
9998
output: "trivy-results.sarif"
10099
severity: "HIGH,CRITICAL"
101100
exit-code: "1"
101+
scanners: "vuln" # Focus on CVEs, not secrets
102102

103103
- name: Upload Trivy results to GitHub Security
104104
uses: github/codeql-action/upload-sarif@v4

0 commit comments

Comments
 (0)