Repository navigation
Description
Trivy reports a misconfiguration that no issue names.
- Rule: KSV-0017
- Path: k8s/gpu-feature-discovery/daemonset.yaml
- Severity: HIGH
Open alerts:
Judge it under "Judging a Trivy-config Alert" in SECURITY.md: fix the file, dismiss the alert with a reason, or add a time-limited entry to .trivyignore.yaml. The owner judges a CRITICAL alert within 24 hours. An agent judges any other alert within 14 days.
Proposed design
Problem statement
Trivy reports KSV-0017 for the gpu-feature-discovery DaemonSet. The workload needs privileged access to GPU devices and host sysfs. The project must judge the alert with a dated ignore entry so the IaC scan passes.
Acceptance criteria
Requirement: KSV-0017 ignore entry
The project SHALL add an ignore entry for rule KSV-0017 at k8s/gpu-feature-discovery/daemonset.yaml to .trivyignore.yaml.
Scenario: The IaC scan accepts the new entry
- WHEN
uv run devops ci --check --only trivyruns on the change - THEN the command exits 0 and reports no open KSV-0017 finding for k8s/gpu-feature-discovery/daemonset.yaml.
Requirement: Reason and expiry of the ignore entry
The KSV-0017 ignore entry MUST state that gpu-feature-discovery needs privileged GPU device access and MUST have a future expiry date.
Scenario: The IaC scan reads a time-limited entry
- WHEN
uv run devops ci --check --only trivyruns on the change - THEN the command exits 0 and the KSV-0017 entry is not expired.
Existing Tool Considered
Trivy covers the detection of KSV-0017. It lacks the context that gpu-feature-discovery needs privileged access to GPU devices, so the project records a dated ignore entry in .trivyignore.yaml.
Key questions
- Which action judges KSV-0017 for the gpu-feature-discovery DaemonSet?: Add a dated ignore entry to
.trivyignore.yaml. Keepprivileged: truebecause the workload needs GPU device access. (best practice) [sources: k8s/gpu-feature-discovery/daemonset.yaml, SECURITY.md, openspec/specs/trivy-config-alerts/spec.md]- Rejected: Remove privileged: true. gpu-feature-discovery runs the NVIDIA discovery binary and mounts host sysfs, so it needs privileged access to GPU devices.
- Chosen: Add a dated ignore entry. The workload needs the privileged context, and the project policy allows a time-limited ignore entry.
- What expiry period should the KSV-0017 ignore entry use?: 90 days. A person reviews the exception each quarter. (best practice) [sources: SECURITY.md, openspec/specs/trivy-config-alerts/spec.md]
- Rejected: 30 days. It causes frequent churn for a stable workload requirement.
- Chosen: 90 days. It forces a quarterly review and keeps the exception time-limited.
- Rejected: 1 year. It lets a stale exception stay too long.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 17, 2026
A live HIGH severity security misconfiguration alert that must be resolved within 14 days.Judge Trivy-config alert KSV-0017 (alert 217) in k8s/gpu-feature-discovery/daemonset.yamlas the change that both ask for.Both items ask to judge the same rule KSV-0017 on the same file and the same alert 217.A person closes one of the two if that is so.[-]fix(security): judge Trivy-config KSV-0017 in k8s/gpu-feature-discovery/daemonset.yaml[/-][+]fix(security): Judge Trivy-config KSV-0017 in gpu-feature-discovery[/+]devops-cli-service commentedon Nov 17, 2026
The job shortened the title of this item. The summary had 71 characters, and the limit is 60. The type and the scope stay.
fix(security): judge Trivy-config KSV-0017 in k8s/gpu-feature-discovery/daemonset.yamlfix(security): Judge Trivy-config KSV-0017 in gpu-feature-discoverydevops-cli-service commentedon Nov 17, 2026
Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.
devops-cli-service commentedon Nov 18, 2026
Released in v0.174.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.174.3
devops-cli-service commentedon Nov 18, 2026
Live since 2026-11-18 01:56 UTC