Repository navigation
Commit 9f33d40
pirog-spb
fix(trivy): ignore KSV-0121 for the eUPF /sys hostPath mount
The chart defaults now mount the host /sys read-only into the pod
(#645), which is required by the image entrypoint to mount bpffs and
debugfs for the eBPF data plane. Trivy flags the hostPath volume as a
disallowed volume type (AVD-KSV-0121, HIGH), failing the scan-config
job of Security scan on this PR - same 'by design' class as
AVD-KSV-0118 (privileged container) ignored earlier.
Add the rule to .trivyignore with the justification instead of
weakening the chart defaults.
Verified locally: trivy fs --scanners misconfig --severity HIGH,CRITICAL
with this .trivyignore and trivy.yaml reports 0 findings.
Signed-off-by: pirog-spb <[email protected]>1 parent 1369669 commit 9f33d40
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments