Repository navigation
Description
Trivy reports a misconfiguration that no issue names.
- Rule: KSV-0109
- Path: k8s/devops/renovate/configmap.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-0109 for k8s/devops/renovate/configmap.yaml. The embedded config.js reads a token from a file at runtime and does not store a token value in the ConfigMap. The issue judges this HIGH alert under the Trivy-config policy in SECURITY.md.
Acceptance criteria
Requirement: Time-limited KSV-0109 ignore entry
The repository MUST hold a .trivyignore.yaml entry for KSV-0109 at k8s/devops/renovate/configmap.yaml with a statement and an expiry date.
Scenario: The k8s check accepts the dated entry
- WHEN A person runs
uv run devops ci --check --only k8s. - THEN The command exits 0 and the KSV-0109 entry shows no missing statement or missing expiry.
Requirement: KSV-0109 is suppressed for the Renovate ConfigMap
The IaC scan MUST report no KSV-0109 finding for k8s/devops/renovate/configmap.yaml while the ignore entry is valid.
Scenario: Trivy reads the dated ignore entry
- WHEN A person runs
trivy config --ignorefile .trivyignore.yaml k8s/devops/renovate/configmap.yaml. - THEN Trivy exits 0 and reports no KSV-0109 finding for the file.
Existing Tool Considered
No alternatives check has run. Trivy, already used by the repository, covers the need: its .trivyignore.yaml holds a dated, reasoned ignore entry for KSV-0109. Trivy lacks a way to tell a runtime file read from a stored secret, so the dated entry is necessary. No custom code is needed.
Key questions
- Which judgement does SECURITY.md allow for a HIGH Trivy-config alert?: SECURITY.md allows a fix, a dismissal with a reason, or a time-limited
.trivyignore.yamlentry. An agent judges a HIGH alert. [sources: SECURITY.md] - Does the ConfigMap hold a token value?: No. The
config.jsvalue reads/token/github-tokenat runtime and exports the value in memory. The ConfigMap data holds no token literal. [sources: k8s/devops/renovate/configmap.yaml] - How should the HIGH KSV-0109 alert be judged?: Add a time-limited
.trivyignore.yamlentry for KSV-0109 atk8s/devops/renovate/configmap.yaml. The entry gives the reason that the token is read from a file at runtime and is not stored in the ConfigMap. Setexpired_atto 90 days after the merge date. (best practice) [sources: SECURITY.md, k8s/devops/renovate/configmap.yaml]- Chosen: Add a dated ignore entry. It records the false positive in source control with an expiry and keeps the Renovate token flow unchanged.
- Rejected: Rewrite config.js to remove the token key. Renovate needs the token setting, and a workaround would hide the key without removing the false positive.
- Rejected: Dismiss the GitHub alert only. A dismissal leaves no source-controlled record for the next scan or reviewer.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 20, 2026
Live HIGH severity security misconfiguration alert with a 14-day deadline.Both address KSV-0109 in the same file and alert 286, but the candidate allows fix, dismiss, or trivyignore while 6384 requires only a trivyignore entry.[-]fix(security): judge Trivy-config KSV-0109 in k8s/devops/renovate/configmap.yaml[/-][+]fix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yaml[/+]devops-cli-service commentedon Nov 20, 2026
The job shortened the title of this item. The summary had 65 characters, and the limit is 60. The type and the scope stay.
fix(security): judge Trivy-config KSV-0109 in k8s/devops/renovate/configmap.yamlfix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yamldevops-cli-service commentedon Nov 20, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
dan-petty commentedon Nov 21, 2026
#6684 removes
k8s/devops/renovate/configmap.yaml; its config moves into the homelab values of the upstream chart (dan-petty/homelab#95). Judge KSV-0109 on the homelab render after dan-petty/homelab#95, or close this item if the finding goes away there. #6608 is the same finding.dan-petty commentedon Nov 23, 2026
Newer issue #6859 replaces this item. PR #6904 added a dated ignore entry for KSV-0109 in
.trivyignore.yamland merged intomain. The finding is resolved.dan-petty commentedon Nov 24, 2026
The self-hosted Renovate workload moves out of the product into dan-petty/homelab#95.