Skip to content

fix(security): judge KSV-0014 in image_pins/chart_render.yaml #5948

Not planned

Description

@github-actions

Trivy reports a misconfiguration that no issue names.

  • Rule: KSV-0014
  • 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 KSV-0014 at HIGH severity in tests/fixtures/image_pins/chart_render.yaml, and alert 283 is open. The file is test data for image-pin handling, so a direct edit would remove the case that the test checks. The change judges the alert with a dated ignore entry under SECURITY.md.

Acceptance criteria

Requirement: KSV-0014 fixture ignore entry

The change SHALL add a time-limited .trivyignore.yaml entry for KSV-0014 on tests/fixtures/image_pins/chart_render.yaml, with a reason and an expiry date.

Scenario: Trivy IaC check accepts the dated entry

  • WHEN uv run devops ci --check --only trivy runs
  • THEN the command exits 0 and reports no KSV-0014 result 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-0014. The change uses the .trivyignore.yaml entry with a reason and an expiry, and it builds no code. Trivy lacks a way to mark a test fixture as intentional except its ignore file.

Key questions

  • How should the project judge KSV-0014 for tests/fixtures/image_pins/chart_render.yaml?: Add a time-limited .trivyignore.yaml entry for KSV-0014 on that path. The file is test data for image pins, so a direct edit would remove the case that the test checks. (best practice) [sources: SECURITY.md, tests/fixtures/image_pins/chart_render.yaml, .trivyignore.yaml]
    • Rejected: Fix the fixture. A direct edit would change the test data and could remove the image-pin case.
    • Rejected: Dismiss alert 283 in GitHub. A dismissal leaves no tracked, time-limited repository record for CI to check.
    • Chosen: Add a dated .trivyignore.yaml entry. SECURITY.md allows a time-limited ignore entry, and the repository records the reason and expiry.
  • Which file holds the time-limited Trivy ignore entries?: .trivyignore.yaml holds the Trivy ignore entries. [sources: .trivyignore.yaml]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

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

    @devops-cli-service
    Contributor
  4. changed the title [-]fix(security): judge Trivy-config KSV-0014 in tests/fixtures/image_pins/chart_render.yaml[/-] [+]fix(security): judge KSV-0014 in image_pins/chart_render.yaml[/+] on Nov 16, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

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

    • Before: fix(security): judge Trivy-config KSV-0014 in tests/fixtures/image_pins/chart_render.yaml
    • After: fix(security): judge KSV-0014 in image_pins/chart_render.yaml
    • Source of the summary: the background model
  6. devops-cli-service commented on Nov 18, 2026

    @devops-cli-service
    Contributor

    Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.

  7. dan-petty commented on Nov 19, 2026

    @dan-petty
    Owner

    Owner decision of 2026-11-19: trivy config skips tests/fixtures. #5790 adds the skip and deletes the dated entries of the fixtures. When the alert closes after that merge, close this item.

  8. dan-petty commented on Nov 29, 2026

    @dan-petty
    Owner

    Closing as not planned per the owner decision comment: #5790 merged and closed Trivy-config alert 283 (KSV-0014 on tests/fixtures/image_pins/chart_render.yaml, state: fixed).

  9. removed
    status/new
    on Nov 29, 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/p2-mediumscope/securitytype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions