Skip to content

fix(roadmap): refine designs against an alert without its rule text #5258

Closed

Description

@dan-petty

Problem Description

Refine wrote and approved a design for the wrong scanner rule. Item #4945 names code-scanning alert 213, rule AZU-0041 "Ensure AKS has an API Server Authorized IP Ranges enabled". The refine design said "The AKS cluster in that file sets no network policy" and planned network_policy = "azure". That is the fix of AZU-0043 (alert 222, item dan-petty/infra#182). refine.judge approved the design, the stage job planned it (plan PR #5053), and fix-plan revised it against the review findings only. The CRITICAL alert would have stayed open after the merge.

Refine reads the item text but not the rule of the alert that the item names. The body gives only the rule ID.

Reproduction Steps

  1. Read the refine section of fix(security): judge Trivy-config AZU-0041 in tf/azure/main.tf #4945 before 2026-11-12 21:05Z: "Problem statement ... The AKS cluster in that file sets no network policy."
  2. GET repos/dan-petty/devops-cli/code-scanning/alerts/213: rule.id AZU-0041, description "Ensure AKS has an API Server Authorized IP Ranges enabled", severity critical.
  3. A local Trivy 0.75.0 config scan of tf/azure with the planned change still reports AZU-0041.

Expected vs Actual Behavior

Expected: when an item names a code-scanning alert, refine reads the alert (rule ID, rule description, severity, path) with one GET and puts the rule text in the design evidence. The judge compares the design with the rule text.

Actual: the design and its approval rest on the rule ID only.

Environment Diagnostics

Main at 0a14161 (release 0.123.0).

Logs, Traces, or Terminal Output

Plan PR #5053 closed with no merge on 2026-11-12. The owner chose the AZU-0041 fix on #4945. Trivy-config items #4945 to dan-petty/infra#182 and parent #4409 have the same shape.

Source: #5053

Activity

  1. added
    source/agent
    type/bug
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Related: fix(security): judge the 52 open Trivy-config alerts #4409, which asks for a different change. Both concern the Trivy-config alerts in tf/azure, but dan-petty/devops-cli#4409 asks to fix the alerts while this candidate asks to fix the refine tool so it reads alert rule text before designing.
  3. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 12, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 15, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 15, 2026
  6. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-15 23:51 UTC

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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions