Repository navigation
Description
Trivy reports a misconfiguration that no issue names.
- Rule: KSV-0118
- Path: tests/fixtures/image_pins/chart_render.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 HIGH KSV-0118 on tests/fixtures/image_pins/chart_render.yaml. The alertmanager container has no read-only root file system. The fixture is test input, not a deployed workload. The change sets securityContext.readOnlyRootFilesystem to true in that container. This action closes the alert with no suppression.
Acceptance criteria
Requirement: The image-pin fixture sets a read-only root file system
The alertmanager container in tests/fixtures/image_pins/chart_render.yaml SHALL set securityContext.readOnlyRootFilesystem to true.
Scenario: The review reports no KSV-0118 for the fixture
- WHEN
uv run devops review path tests/fixtures/image_pins/chart_render.yamlruns - THEN The review output holds no open KSV-0118 finding for
tests/fixtures/image_pins/chart_render.yaml.
Existing Tool Considered
No alternatives check has run. Trivy is the open, maintained scanner that reports KSV-0118 and reads .trivyignore.yaml with an expiry. Trivy lacks a decision for this fixture; it cannot choose between a manifest fix and a suppression. The change adds no code.
Key questions
- Which remedy does SECURITY.md require for the HIGH KSV-0118 alert in the image-pin fixture?: Fix the fixture. Add
securityContext.readOnlyRootFilesystem: trueto the alertmanager container. Do not add an ignore entry. Do not dismiss the alert. (best practice) [sources: SECURITY.md, tests/fixtures/image_pins/chart_render.yaml]- Chosen: Fix the fixture. The fixture is test input. A read-only root file system makes the fixture compliant and closes the alert without a suppression.
- Rejected: Add a dated
.trivyignore.yamlentry. A suppression hides the rule. The fixture can satisfy the rule, so a suppression is not necessary. - Rejected: Dismiss the GitHub alert. Dismissal leaves the insecure manifest in the repository. A later scan can report the rule again.
- Which Trivy check does KSV-0118 name?: KSV-0118 is the Trivy Kubernetes check for a container with no read-only root file system. The check expects
securityContext.readOnlyRootFilesystem: true. [sources: tests/fixtures/image_pins/chart_render.yaml] - Is
tests/fixtures/image_pins/chart_render.yamla deployed workload?: No. The file is a test fixture undertests/fixtures/image_pins/. [sources: tests/fixtures/image_pins/chart_render.yaml]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 17, 2026
HIGH severity security misconfiguration flagged by Trivy in a tracked file.Judge KSV-0118 in tests/fixtures/image_pins/chart_render.yaml (alert 282): fix the file, dismiss the alert, or add a time-limited entry to .trivyignore.yamlas the change that both ask for.Same rule KSV-0118, same file, same alert 282, same acceptance criteria as item 5949.A person closes one of the two if that is so.[-]fix(security): judge Trivy-config KSV-0118 in tests/fixtures/image_pins/chart_render.yaml[/-][+]fix(security): Judge KSV-0118 in chart_render.yaml[/+]devops-cli-service commentedon Nov 17, 2026
The job shortened the title of this item. The summary had 74 characters, and the limit is 60. The type and the scope stay.
fix(security): judge Trivy-config KSV-0118 in tests/fixtures/image_pins/chart_render.yamlfix(security): Judge KSV-0118 in chart_render.yamldevops-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.
dan-petty commentedon Nov 18, 2026
Alert 282 is already fixed on main (commit b466159) and closed in GitHub code scanning. Closed as not planned per AGENTS.md rule 2.