Skip to content

fix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yaml #6751

Not planned

Description

@github-actions

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 k8s runs on the pull request
  • THEN the command reports no KSV-0109 finding for k8s/devops/renovate/configmap.yaml and 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.js reads the installation token from /token/github-token at runtime and assigns it to the Renovate token setting. 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.yaml entry for KSV-0109 at k8s/devops/renovate/configmap.yaml. The token key 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 token key 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.yaml entry. The IaC scan reads the ignore file, and the expiry bounds the suppression.
  • How long should the KSV-0109 suppression last?: Set expired_at to 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

  1. added
    type/bug
    scope/security
    on Nov 22, 2026
  2. added
    status/new
    value/medium
    effort/low
    on Nov 22, 2026
  3. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor
    • Priority: P1-High. HIGH severity security misconfiguration flagged by Trivy.
    • Possible duplicate: fix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yaml #6608, which may ask for the same change. The model names 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.
  4. added
    priority/p1-high
    on Nov 22, 2026
  5. changed the title [-]fix(security): judge Trivy-config KSV-0109 in k8s/devops/renovate/configmap.yaml[/-] [+]fix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yaml[/+] on Nov 22, 2026
  6. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    The job shortened the title of this item. The summary had 65 characters, and the limit is 60. The type and the scope stay.

    • Before: fix(security): judge Trivy-config KSV-0109 in k8s/devops/renovate/configmap.yaml
    • After: fix(security): Judge KSV-0109 in k8s/devops/renovate/configmap.yaml
    • Source of the summary: the background model
  7. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    Contributor

    Next step: the alternatives check records a verdict. See the section Proposed design of the body.

  8. dan-petty commented on Nov 23, 2026

    @dan-petty
    Owner

    Newer issue #6859 replaces this item. PR #6904 added a dated ignore entry for KSV-0109 in .trivyignore.yaml and merged into main. The finding is resolved.

  9. removed
    status/new
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/securitytype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions