Repository navigation
Description
Trivy reports a misconfiguration that no issue names.
- Rule: KSV-0118
- Path: tests/fixtures/research/repo/k8s/llm/valkey.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-0118 at HIGH severity on alert 1190 for tests/fixtures/research/repo/k8s/llm/valkey.yaml. The fixture holds an untagged image as test input, so a tag fix would remove the case that the fixture exercises. The issue needs a recorded judgment that keeps the fixture and suppresses the alert with a dated, path-scoped entry.
Acceptance criteria
Requirement: Dated ignore entry for KSV-0118
The repository MUST hold a dated, path-scoped entry in .trivyignore.yaml that suppresses KSV-0118 for tests/fixtures/research/repo/k8s/llm/valkey.yaml.
Scenario: Trivy scan with the ignore file
- WHEN
trivy config --ignorefile .trivyignore.yaml tests/fixtures/research/repo/k8s/llm/valkey.yamlruns - THEN The command exits 0 and its report holds no KSV-0118 finding.
Requirement: Fixture still exercises the rule
The fixture MUST keep the untagged image so that it still exercises KSV-0118.
Scenario: Trivy scan without the ignore file
- WHEN
trivy config tests/fixtures/research/repo/k8s/llm/valkey.yamlruns - THEN The report holds one KSV-0118 finding for the untagged container.
Existing Tool Considered
No alternatives check has run. Trivy is the open, maintained scanner that reports KSV-0118 and reads .trivyignore.yaml. It lacks a per-alert dismissal record inside the repository, so the proposal records the reason and the expiry in a path-scoped ignore entry. It builds no new code.
Key questions
- How should the repository judge KSV-0118 on the valkey fixture?: Add a dated, path-scoped entry to .trivyignore.yaml for KSV-0118 and the fixture path. Keep the untagged image as test input. (best practice) [sources: SECURITY.md, tests/fixtures/research/repo/k8s/llm/valkey.yaml]
- Chosen: Add a dated, path-scoped ignore entry. The policy allows a time-limited ignore entry, and the entry keeps the reason and the expiry in the repository.
- Rejected: Pin the untagged image tag. The container name untagged and the missing tag are the fixture test input, so a pinned tag removes the case.
- Rejected: Dismiss alert 1190 in GitHub only. The repository keeps no record, and a later scan can open the alert again.
- Does the fixture deploy to a cluster?: No. The path is under tests/fixtures/research/repo/k8s/llm/, and the repository holds it as test data. [sources: tests/fixtures/research/repo/k8s/llm/valkey.yaml]
- What image tag does the alert concern?: The container untagged sets image: example/untagged with no tag, so Kubernetes resolves it to latest. [sources: tests/fixtures/research/repo/k8s/llm/valkey.yaml]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 24, 2026
A HIGH severity security misconfiguration with a 14-day judgment deadline.Both target the same file valkey.yaml but for different Trivy rules (KSV-0118 vs KSV-0014) and different alerts.[-]fix(security): judge Trivy-config KSV-0118 in tests/fixtures/research/repo/k8s/llm/valkey.yaml[/-][+]fix(security): Judge Trivy KSV-0118 in valkey.yaml[/+]devops-cli-service commentedon Nov 24, 2026
The job shortened the title of this item. The summary had 79 characters, and the limit is 60. The type and the scope stay.
fix(security): judge Trivy-config KSV-0118 in tests/fixtures/research/repo/k8s/llm/valkey.yamlfix(security): Judge Trivy KSV-0118 in valkey.yamldevops-cli-service commentedon Nov 24, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
devops-cli-service commentedon Nov 24, 2026
Released in v0.211.3: https://github.com/dan-petty/devops-cli/releases/tag/v0.211.3
devops-cli-service commentedon Nov 24, 2026
Live since 2026-11-24 21:14 UTC