Repository navigation
Description
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
- 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."
- 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. - A local Trivy 0.75.0 config scan of
tf/azurewith 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
dan-petty commentedon Nov 12, 2026
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.fix(roadmap): refine designs against an alert without its rule text (#…
devops-cli-service commentedon Nov 15, 2026
Released in v0.159.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.159.0
devops-cli-service commentedon Nov 15, 2026
Live since 2026-11-15 23:51 UTC