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
Add a dated .trivyignore.yaml entry for KSV-0109 at k8s/devops/renovate/configmap.yaml. Do not change the Renovate token setting. The finding is a false positive: the ConfigMap holds a file read, not a secret value. The dated entry makes the IaC scan pass and expires so a person reviews the judgement.
Acceptance criteria
Requirement: KSV-0109 suppression with expiry
The repository MUST suppress KSV-0109 for k8s/devops/renovate/configmap.yaml with a dated .trivyignore.yaml entry.
Scenario: The IaC scan reads the dated ignore entry
- WHEN
uv run devops ci --check --only k8sruns on the pull request - THEN the command reports no KSV-0109 finding for
k8s/devops/renovate/configmap.yamland no expired ignore entry.
Existing Tool Considered
No alternatives check has run. The need is a dated suppression of one Trivy misconfiguration. Trivy's .trivyignore.yaml mechanism covers it: it suppresses a rule ID for a path with a statement and an expiry date. It does not decide whether the match is a true secret; the entry statement records that judgement. The change builds no code, so it has no build cost.
Key questions
- Does the Renovate ConfigMap hold a token value?: No.
config.jsreads the installation token from/token/github-tokenat runtime and assigns it to the Renovatetokensetting. The ConfigMap holds the file read, not the token value. [sources: k8s/devops/renovate/configmap.yaml] - Which judgement does KSV-0109 need: fix the file, dismiss the alert, or add a dated ignore entry?: Add a dated
.trivyignore.yamlentry for KSV-0109 atk8s/devops/renovate/configmap.yaml. Thetokenkey is required by Renovate, and the value is a file read, not a secret in the ConfigMap. (best practice) [sources: SECURITY.md, k8s/devops/renovate/configmap.yaml]- Rejected: Fix the ConfigMap. The
tokenkey is the Renovate setting that carries the token read from a file. The ConfigMap holds no token value to remove. - Rejected: Dismiss the alert only. A GitHub dismissal leaves no repository record with an expiry. The next scan can open the finding again.
- Chosen: Add a dated
.trivyignore.yamlentry. The IaC scan reads the ignore file, and the expiry bounds the suppression.
- Rejected: Fix the ConfigMap. The
- How long should the KSV-0109 suppression last?: Set
expired_atto 90 days after the merge. This keeps the false-positive suppression bounded for one quarter. (best practice) [sources: SECURITY.md]- Rejected: 30 days. A 30-day entry adds a repeated review for a stable false positive.
- Chosen: 90 days. A quarter bounds the suppression and gives a review point.
- Rejected: 1 year. A year delays the review too long.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 22, 2026
HIGH severity security misconfiguration flagged by Trivy.Judge Trivy-config KSV-0109 in k8s/devops/renovate/configmap.yaml (alert 286)as the change that both ask for.Both ask to judge the same rule KSV-0109 in the same file with the same alert 286 and identical acceptance criteria.A person closes one of the two if that is so.[-]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 22, 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 22, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
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.