Skip to content

fix(trivy): ignore KSV-0118 for the eUPF deployment template - #655

Merged
pirog-spb merged 2 commits into
mainfrom
fix/trivy-ignore-ksv0118
Oct 4, 2026
Merged

pirog-spb merged 2 commits into
mainfrom
fix/trivy-ignore-ksv0118

Conversation

@pirog-spb

Copy link
Copy Markdown
Collaborator

The config scan (enabled again in #653) fails with exit code 1 on AVD-KSV-0118 'Default security context configured' in .deploy/helm/eupf/templates/deployment.yaml.

Running eUPF in a restricted security context is not supported by design: the eBPF data plane needs a privileged (root) container to load its programs, mount bpffs/debugfs and raise RLIMIT_MEMLOCK (see the chart README). Add the rule to .trivyignore with the justification instead of weakening the deployment.

Verified locally: trivy fs --scanners misconfig --severity HIGH,CRITICAL with this .trivyignore and trivy.yaml reports 0 findings.

pirog-spb and others added 2 commits October 4, 2026 23:57
The config scan (enabled again in #653) fails with exit code 1 on
AVD-KSV-0118 'Default security context configured' in
.deploy/helm/eupf/templates/deployment.yaml.

Running eUPF in a restricted security context is not supported by
design: the eBPF data plane needs a privileged (root) container to
load its programs, mount bpffs/debugfs and raise RLIMIT_MEMLOCK
(see the chart README). Add the rule to .trivyignore with the
justification instead of weakening the deployment.

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]>
@pirog-spb
pirog-spb merged commit b8a5ed8 into main Oct 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant