Commit e86e5d1
authored
fix(ci): limit Trivy SARIF severities to CRITICAL,HIGH (#101)
Without `limit-severities-for-sarif: true`, the trivy-action overrides
`TRIVY_SEVERITY` to all severities when `format: sarif`, which causes
`exit-code: 1` to fire on MEDIUM/LOW findings as well — the explicit
`severity: CRITICAL,HIGH` input is effectively ignored.
The v2.0.0a0 build went red on a MEDIUM idna CVE-2026-45409 for this
reason; with the new flag, both the SARIF report and the exit-code gate
honour the configured CRITICAL/HIGH filter.1 parent 9444999 commit e86e5d1
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
0 commit comments