Skip to content

Commit 1037701

Browse files
authored
Ignore Known Trivy Vulnerabilities (#1413)
1 parent 0d7d369 commit 1037701

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/.trivyignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# =======================
2+
# Ignored Vulnerabilities
3+
# =======================
4+
5+
# Accepting risk due to Python 3.7 and 3.8 support.
6+
CVE-2025-50181
7+
8+
# Not relevant, only affects Pyodide
9+
CVE-2025-50182

.github/workflows/trivy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
format: table
4444
exit-code: 1
4545
severity: "CRITICAL,HIGH,MEDIUM,LOW"
46+
trivyignores: ".github/.trivyignore"
4647

4748
- name: Run Trivy vulnerability scanner in repo mode
4849
if: ${{ github.event_name == 'schedule' }}
@@ -53,6 +54,7 @@ jobs:
5354
format: "sarif"
5455
output: "trivy-results.sarif"
5556
severity: "CRITICAL,HIGH,MEDIUM,LOW"
57+
trivyignores: ".github/.trivyignore"
5658

5759
- name: Upload Trivy scan results to GitHub Security tab
5860
if: ${{ github.event_name == 'schedule' }}

0 commit comments

Comments
 (0)