Repository navigation
Description
Trivy reports a misconfiguration that no issue names.
- Rule: AZU-0041
- Path: tf/azure/main.tf
- Severity: CRITICAL
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.
Constraint (owner decision, 2026-11-12): clear AZU-0041 with api_server_access_profile.authorized_ip_ranges in tf/azure/main.tf from a new variable that has no default. The endpoint stays public, and no address goes into git. A network policy is AZU-0043 (#4949), not this item.
Proposed design
Problem statement
Trivy config reports AZU-0041 at tf/azure/main.tf with CRITICAL severity. Alert 213 stays open. The azurerm_kubernetes_cluster.aks resource sets no API server authorized IP ranges. The change sets api_server_access_profile.authorized_ip_ranges from a new variable that has no default. The API server endpoint stays public, and no address goes into git. The network policy rule AZU-0043 stays with item dan-petty/infra#182.
Acceptance criteria
Requirement: API server authorized IP ranges
The AKS cluster SHALL set api_server_access_profile.authorized_ip_ranges from the new variable var.api_server_authorized_ip_ranges.
Scenario: Authorized ranges come from the variable
- WHEN A test reads the
azurerm_kubernetes_cluster.aksresource intf/azure/main.tf - THEN The resource has one
api_server_access_profileblock, and itsauthorized_ip_rangesisvar.api_server_authorized_ip_ranges.
Requirement: Variable without a default
The new variable api_server_authorized_ip_ranges SHALL have no default value.
Scenario: The variable block has no default
- WHEN A test reads the
api_server_authorized_ip_rangesblock intf/azure/variables.tf - THEN The block has
type = list(string), adescription, and nodefaultargument.
Requirement: No allowlist address in git
The committed Terraform files SHALL hold no API server allowlist address.
Scenario: Committed Terraform holds no allowlist address
- WHEN A test reads
tf/azure/main.tfandtf/azure/variables.tf - THEN The only value of
authorized_ip_rangesis the variable reference, and neither file holds a CIDR literal for the allowlist.
Requirement: Terraform configuration validates
The Terraform configuration SHALL pass tofu validate after the change.
Scenario: Validation passes
- WHEN
tofu init -backend=falseandtofu validaterun intf/azure - THEN Both commands exit with status 0.
Requirement: AZU-0041 is cleared
The Terraform configuration SHALL produce no AZU-0041 result for tf/azure/main.tf.
Scenario: Trivy config scan reports no AZU-0041
- WHEN
trivy config tf/azureruns on the changed tree - THEN The output holds no AZU-0041 result for
tf/azure/main.tf.
Requirement: Network profile unchanged
The change SHALL leave the network_profile block of azurerm_kubernetes_cluster.aks unchanged.
Scenario: The network profile keeps its four arguments
- WHEN A test reads the
network_profileblock intf/azure/main.tf - THEN The block holds only
network_plugin = "azure",load_balancer_sku = "standard",service_cidr = "10.0.0.0/16"anddns_service_ip = "10.0.0.10".
Existing Tool Considered
No alternatives check has run. The open, maintained AzureRM Terraform provider (hashicorp/azurerm) supplies api_server_access_profile.authorized_ip_ranges. It lacks no capability for this change. The change builds no code of its own, so the build cost is 0 tokens and 0 minutes.
Key questions
- Which rule does alert 213 report, and what does it require?: Alert 213 reports AZU-0041 at CRITICAL severity on
tf/azure/main.tf. The rule requires API server authorized IP ranges on the AKS cluster. Theazurerm_kubernetes_cluster.aksresource sets noapi_server_access_profileblock. [sources: tf/azure/main.tf] - How should the CRITICAL AZU-0041 alert be judged?: Fix the file in a pull request that closes the issue. Add no
.trivyignore.yamlentry and dismiss no alert. (best practice) [sources: SECURITY.md]- Chosen: Fix the file. SECURITY.md makes the fix the first choice, and the owner chose this fix on 2026-11-12.
- Rejected: Add a
.trivyignore.yamlentry. SECURITY.md forbids an agent to ignore a CRITICAL alert, and an entry is for a fix that a workload break blocks. - Rejected: Dismiss the alert in code scanning. SECURITY.md says only a person dismisses an alert, and an agent does not.
- Which Terraform argument clears AZU-0041?: Set
api_server_access_profile { authorized_ip_ranges = var.api_server_authorized_ip_ranges }onazurerm_kubernetes_cluster.aks. The endpoint stays public. (best practice) [sources: tf/azure/main.tf]- Chosen:
api_server_access_profile.authorized_ip_rangesfrom the variable. The owner chose it on 2026-11-12, and the AzureRM provider supplies the argument. - Rejected: A private cluster. Only the VNet would reach the API server, and the owner keeps the endpoint public.
- Rejected:
network_policy = "azure"innetwork_profile. That argument is the network policy rule AZU-0043, which item fix(security): judge Trivy-config AZU-0043 in tf/azure/main.tf infra#182 owns, and it leaves AZU-0041 open. - Rejected: A
.trivyignore.yamlentry. SECURITY.md forbids an agent to ignore a CRITICAL alert, and a fix exists.
- Chosen:
- Where does the new variable go, and does it have a default?: Declare
api_server_authorized_ip_rangesintf/azure/variables.tfbeside the other module variables. Give ittype = list(string), adescription, and nodefault. A person gives the ranges when they apply the module. (best practice) [sources: tf/azure/variables.tf, SECURITY.md]- Chosen: Variable in
tf/azure/variables.tfwith no default. The owner decision of 2026-11-12 requires no default, so no address goes into git and the apply stops until a person gives the ranges. - Rejected: Variable with an RFC 5737 default. A default would apply a placeholder allowlist and would put an address into a committed file.
- Rejected: A literal list in
tf/azure/main.tf. SECURITY.md rule 8 forbids a committed address, and the owner requires a variable.
- Chosen: Variable in
- Does this change set the AKS network policy?: No. AZU-0043 is the network policy rule and item fix(security): judge Trivy-config AZU-0043 in tf/azure/main.tf infra#182 owns it. The change leaves the
network_profileblock unchanged. (best practice) [sources: tf/azure/main.tf, SECURITY.md]- Chosen: Leave
network_profileunchanged. The owner scoped this item to AZU-0041, and anetwork_policychange leaves AZU-0041 open. - Rejected: Set
network_policy = "azure"here. That change delivers AZU-0043 only, and item fix(security): judge Trivy-config AZU-0043 in tf/azure/main.tf infra#182 owns that rule.
- Chosen: Leave
- Which address values may a test or a document use?: Use RFC 5737 blocks only:
192.0.2.0/24,198.51.100.0/24or203.0.113.0/24. A committed file holds no such address for this change. A test that needs a value uses an RFC 5737 range. [sources: SECURITY.md, tests/invariants/test_committed_addresses.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 12, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The alert is CRITICAL, and the owner must judge it within 24 hours.A CRITICAL misconfiguration in the Azure Terraform file can expose the deployment to attack.The work is one alert in one file, with a fix, a dismissal or an ignore entry as the outcome.Both items judge Trivy-config alerts in the same files, but item 4409 judges all 52 open alerts and the candidate judges only AZU-0041.devops-cli-service commentedon Nov 12, 2026
Status set to Ready at 87ae9ee (see proposed design in issue body).
devops-cli-service commentedon Nov 12, 2026
Staged: branch
fix/4945-judge-trivy-config-azu-0041-in, draft pull request #5053. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these open findings. The stage keeps this pull request a draft with the label
plan/needs-fixuntil a later round clears them:task_orderat group 1: The group writes the code change before the test that asserts it, so the new invariant test never fails on the base and the group is not written test first. Evidence: "Add network_policy = "azure" to the network_profile block of the AKS cluster resource intf/azure/main.tf, beside network_plugin = "azure". Writetests/invariants/test_azure_aks_network_policy.py"false_premiseat decisions: The plan claims no group runs the OpenTofu command, but group 2's process runstofu init -backend=falseandtofu validateon tf/azure, so the reason for dropping the validation requirement is false. Evidence: "so no group runs the command and no offline test can assert it"A model review of the plan found these points. They stop no draft, and a person judges them:
ignores_existing_codeat group 1: The new invariant test hand-rolls an HCL block reader with brace matching, while the project already ships an in-process HCL parser:src/devops_cli/tf/analysis.py(parse_hcl_directory, on the pinnedpython-hcl2dependency) parsestf/azureand returnsazurerm_kubernetes_cluster.akswith itsnetwork_profileattributes. Evidence: "finds thenetwork_profileblock of the AKS cluster by its braces"false_premiseat security: The plan claims the Security Scan step fails when AZU-0041 returns, but that step runsdevops scan reportwith no--fail-on, andgate_reportpasses every report when no threshold is set, so the step only uploads SARIF and exits 0. Evidence: "theSecurity Scanstep of the pull request fails if AZU-0041 returns for the file"criterion_droppedat specs: The issue's requirement "Terraform configuration validates" has no task: the only group's verify runs pytest, and the plan leaves thetofu validaterun to a person. Evidence: "The Terraform configuration SHALL passtofu validateafter the change."spec_delta_wrongat specs (the "Terraform configuration validates" requirement): The delta adds a requirement whose only scenario runs a realtofu validateon a host with OpenTofu, so no offline test can assert it; the plan's own decision says the runner image holds no tofu and no group runs the command. Evidence: "tofu validate runs in the Azure module directory on a host with OpenTofu"missing_pathat group 1: Group 1 writes the directorytf/azurein a code span of its task, and the commit holds no file at that path; the project's path check reads a name with a folder as a repository path and refuses one that is no file, so the plan names a path that exists only as a directory. Evidence: "it parses the directorytf/azurewith parse_hcl_directory"false_premiseat feasibility: The plan saystofuis inNOT_IN_RUNNER, but the table insrc/devops_cli/roadmap/runner_tools.pynames trivy, tflint and the other missing programs and holds no entry for tofu, so the plan misstates where the missing program is recorded. Evidence: "trivy and tofu are NOT_IN_RUNNER, so no group runs the IaC scan or the validation"otherat decisions: The plan has an agent judge a CRITICAL alert and choose the fix, while SECURITY.md and the issue reserve the judgment of a CRITICAL alert to the owner within 24 hours; the plan should leave it to the owner instead of deciding it. Evidence: "The owner judges a CRITICAL alert within 24 hours. An agent judges an alert of severity HIGH, MEDIUM or LOW within 14 days."The runs of the planner and the review made 121 model request(s), and used 7220084 input tokens and 216929 output tokens. The tool calls, in order:
list_files({"directory":""})search_code({"text":"tf/azure"})search_code({"text":"azurerm_kubernetes_cluster"})read_spec({"capability":"trivy-config-alerts"})search_code({"text":"main.tf"})list_files({"directory":"tf/azure"})read_file({"path":"tf/README.md"})find_issues({"terms":"AZU-0041 network policy"})list_files({"directory":"tests/invariants"})search_code({"text":"tf/aws/main.tf"})read_file({"path":"tf/azure/main.tf","start_line":60,"end_line":90})search_code({"text":"Judging a Trivy-config Alert"})search_code({"text":"trivy config"})read_spec({"capability":"tf-lint"})search_code({"text":"Security Scan"})search_code({"text":"tofu validate"})read_file({"path":"SECURITY.md","start_line":78,"end_line":98})read_file({"path":".github/workflows/ci.yml","start_line":60,"end_line":105})read_file({"path":"tests/invariants/test_committed_addresses.py","start_line":1,"end_line":40})read_file({"path":"tests/support/paths.py","start_line":1,"end_line":45})search_code({"text":"test_azure"})search_code({"text":"def detect_language"})search_code({"text":"devops ci test"})search_code({"text":"AZU-"})read_file({"path":"tf/azure/main.tf","start_line":60,"end_line":78})list_files({"directory":"tf"})read_file({"path":"SECURITY.md","start_line":70,"end_line":100})search_code({"text":"tf/azure"})read_file({"end_line":110,"path":".github/workflows/ci.yml","start_line":70})read_file({"end_line":75,"path":"tf/README.md","start_line":45})search_code({"text":"tofu validate"})list_files({"directory":"tests/invariants"})list_files({"directory":""})search_code({"text":"network_policy"})read_spec({})search_code({"text":"hcl2"})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":1,"end_line":140})read_spec({"capability":"terraform-state-drift"})search_code({"text":"main.tf"})file_symbols({"path":"src/devops_cli/tf/analysis.py"})list_files({"directory":"openspec/specs"})search_code({"text":"trivy-config"})search_code({"text":"NOT_IN_RUNNER"})search_code({"text":"def report("})search_code({"text":"scan report"})search_code({"text":"tofu"})search_code({"text":"def report"})list_files({"directory":"src/devops_cli/commands/scan"})search_code({"text":"sarif"})search_code({"text":"exit_code"})list_files({"directory":"src/devops_cli/commands"})file_symbols({"path":"src/devops_cli/commands/scan.py"})read_file({"path":"src/devops_cli/commands/scan.py","start_line":986,"end_line":1068})read_file({"path":"src/devops_cli/commands/scan.py","start_line":796,"end_line":820})search_code({"text":"def gate_report"})read_file({"end_line":275,"path":"src/devops_cli/security/pipeline.py","start_line":221})read_file({"end_line":235,"path":"src/devops_cli/tf/analysis.py","start_line":180})search_code({"text":"parse_hcl_directory"})search_code({"text":"class IaCResource"})read_file({"end_line":180,"path":"src/devops_cli/tf/analysis.py","start_line":140})read_issue({"number":4945})find_issues({"terms":"AZU-0041 network policy"})read_issue({"number":4409})file_symbols({"path":"src/devops_cli/commands/ci.py"})search_code({"text":"AZU-0041"})read_spec({"capability":"trivy-config-alerts"})read_file({"end_line":70,"path":".github/workflows/ci.yml","start_line":40})search_code({"text":"fail-on"})read_file({"end_line":1918,"path":"src/devops_cli/commands/ci.py","start_line":1866})read_file({"end_line":1805,"path":"src/devops_cli/commands/ci.py","start_line":1759})read_file({"end_line":1705,"path":"src/devops_cli/commands/ci.py","start_line":1660})read_file({"end_line":1660,"path":"src/devops_cli/commands/ci.py","start_line":1596})search_code({"text":"\"tf\""})search_code({"text":"tf/aws"})file_symbols({"path":"src/devops_cli/tf/analysis.py"})search_code({"text":"parse_hcl_directory"})search_code({"text":"tofu validate"})list_files({"directory":"tests/invariants"})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":1,"end_line":62})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":180,"end_line":235})file_symbols({"path":"src/devops_cli/models/tf.py"})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":125,"end_line":180})read_file({"path":"src/devops_cli/models/tf.py","start_line":155,"end_line":202})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":62,"end_line":100})search_code({"text":"Security Scan"})search_code({"text":"gate_report"})read_file({"end_line":100,"path":".github/workflows/ci.yml","start_line":62})read_file({"end_line":250,"path":"src/devops_cli/security/pipeline.py","start_line":221})read_file({"end_line":80,"path":"tf/README.md","start_line":1})read_file({"end_line":45,"path":"tests/support/paths.py","start_line":1})search_code({"text":"tf/azure"})find_issues({"terms":"AZU-0041 network policy"})read_file({"path":"SECURITY.md","start_line":80,"end_line":96})read_file({"path":"tf/azure/main.tf","start_line":60,"end_line":80})search_code({"text":"The owner judges a CRITICAL alert within 24 hours"})read_file({"path":"SECURITY.md","start_line":84,"end_line":92})list_files({"directory":"tests/invariants"})read_spec({})read_file({"path":"SECURITY.md","start_line":70,"end_line":100})read_file({"path":"tf/azure/main.tf","start_line":55,"end_line":85})search_code({"text":"trivyignore"})search_code({"text":"ci test"})search_code({"text":"tofu"})search_code({"text":"tf/azure"})search_code({"text":"NOT_IN_RUNNER"})search_code({"text":"parse_hcl_directory"})search_code({"text":"network_plugin"})search_code({"text":"\"tf\""})search_code({"text":"\"tofu\""})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":1,"end_line":80})search_code({"text":"NotInRunner"})read_file({"end_line":200,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":80})read_file({"end_line":280,"path":"src/devops_cli/roadmap/runner_tools.py","start_line":200})read_file({"end_line":240,"path":"src/devops_cli/tf/analysis.py","start_line":180})read_spec({"capability":"azure-aks-module"})read_file({"end_line":60,"path":"src/devops_cli/models/tf.py","start_line":1})search_code({"text":"class IaCResource"})read_file({"end_line":230,"path":"src/devops_cli/models/tf.py","start_line":150})list_files({"directory":"openspec/specs"})read_file({"end_line":95,"path":".github/workflows/ci.yml","start_line":70})read_file({"end_line":245,"path":"src/devops_cli/security/pipeline.py","start_line":215})read_spec({"capability":"roadmap-plan-check"})read_spec({"capability":"roadmap-plan-check","requirement":"The reader judges every verification command"})read_spec({"capability":"roadmap-plan-check","requirement":"The plan reader reports a criterion that the model refuses"})search_code({"text":"terraform"})list_files({"directory":"tf/azure"})read_file({"end_line":120,"path":"Dockerfile","start_line":75})repo_map({"directory":"src/devops_cli/tf"})search_code({"text":"network_policy"})search_code({"text":"tofu validate"})list_files({"directory":""})read_issue({"number":4945})find_issues({"terms":"AZU-0041 network policy"})read_file({"end_line":900,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":820})read_file({"end_line":1010,"path":"src/devops_cli/roadmap/stage/stage_change.py","start_line":897})read_spec({"capability":"roadmap-plan-check","requirement":"The plan reader keeps the document work of a group"})read_spec({"capability":"roadmap-stage","requirement":"A group of the plan holds its verification"})read_spec({"capability":"roadmap-stage"})read_spec({"capability":"roadmap-stage","requirement":"Criteria mapping in the stage reply"})read_spec({"capability":"roadmap-stage","requirement":"An unmapped criterion is refused"})read_spec({"capability":"roadmap-stage","requirement":"Criteria section in tasks.md"})read_spec({"capability":"roadmap-stage","requirement":"A new test module sits in a mirror directory"})read_spec({"capability":"roadmap-stage","requirement":"A verify command has the project form"})search_code({"text":"AKS"})search_code({"text":"azurerm"})search_code({"text":"process"})read_file({"end_line":120,"path":"tf/README.md","start_line":55})read_file({"end_line":40,"path":"tf/azure/versions.tf","start_line":1})search_code({"text":"no verify"})search_code({"text":"group_problem"})read_file({"end_line":4370,"path":"src/devops_cli/lang/en/messages.py","start_line":4290})search_code({"text":"first"})search_code({"text":"kind other"})read_file({"end_line":80,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1})read_file({"end_line":130,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":24})read_file({"end_line":200,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":37})search_code({"text":"tofu"})read_spec({"capability":"tf-lint"})search_code({"text":"NOT_IN_RUNNER"})file_symbols({"path":"src/devops_cli/tf/analysis.py"})search_code({"text":"NOT_IN_RUNNER: dict"})list_files({"directory":"tests/support"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":180,"end_line":250})read_file({"path":"tests/support/paths.py","start_line":1,"end_line":40})list_files({"directory":"tests/tf"})search_code({"text":"parse_hcl_directory("})read_file({"path":"SECURITY.md","start_line":78,"end_line":95})search_code({"text":"AZU-0041"})find_issues({"terms":"AZU-0041 network policy"})search_code({"text":"scan report --sarif"})read_file({"path":"src/devops_cli/security/pipeline.py","start_line":224,"end_line":236})list_files({"directory":"tests"})list_files({"directory":"tf/azure"})list_files({"directory":""})list_files({"directory":"tests/invariants"})search_code({"text":"ci test"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":180,"end_line":240})read_file({"path":"SECURITY.md","start_line":70,"end_line":105})read_file({"path":".github/workflows/ci.yml","start_line":70,"end_line":110})read_spec({})search_code({"text":"tf/azure"})search_code({"text":"network_policy"})read_file({"path":"src/devops_cli/tf/analysis.py","start_line":186,"end_line":260})search_code({"text":"hcl2"})search_code({"text":"tf/aws"})search_code({"text":"tofu validate"})search_code({"text":"tofu fmt"})search_code({"text":"def test("})list_files({"directory":"src/devops_cli/commands/ci"})read_file({"path":"src/devops_cli/commands/ci.py","start_line":1866,"end_line":1990})search_code({"text":"fmt"})search_code({"text":"def _resolve_test_targets"})read_file({"path":"tests/invariants/test_source_tree.py","start_line":1,"end_line":40})read_file({"end_line":1865,"path":"src/devops_cli/commands/ci.py","start_line":1759})read_file({"end_line":250,"path":"src/devops_cli/security/pipeline.py","start_line":200})search_code({"text":"fail_on"})search_code({"text":"NOT_IN_RUNNER"})search_code({"text":"tofu"})read_file({"path":"src/devops_cli/roadmap/runner_tools.py","start_line":1,"end_line":180})list_files({"directory":"tests/tf"})read_file({"path":"tf/azure/versions.tf"})read_file({"path":"tf/azure/variables.tf","start_line":1,"end_line":40})read_file({"end_line":2470,"path":"src/devops_cli/config/constants.py","start_line":2440})search_code({"text":"__is_block__"})search_code({"text":"def _map_changed_paths"})search_code({"text":"def select_tests"})read_file({"end_line":1758,"path":"src/devops_cli/commands/ci.py","start_line":1660})search_code({"text":"weakened_checks"})search_code({"text":"creates_lines"})read_file({"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":1,"end_line":80})read_file({"end_line":60,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":23})read_file({"end_line":80,"path":"src/devops_cli/ai/tasks/roadmap_stage_change.md","start_line":36})search_code({"text":"def _map_test_tree_path"})read_file({"end_line":1660,"path":"src/devops_cli/commands/ci.py","start_line":1560})read_file({"end_line":495,"path":"src/devops_cli/commands/tf.py","start_line":480})read_file({"end_line":130,"path":"tests/tf/test_tf_analysis.py","start_line":118})read_file({"end_line":40,"path":"tests/invariants/test_hermetic_floor.py","start_line":1})read_file({"end_line":40,"path":"tests/invariants/test_committed_addresses.py","start_line":1})read_file({"end_line":90,"path":".github/workflows/ci.yml","start_line":1})search_code({"text":"attributes.get("})search_code({"text":"attributes["})list_files({"directory":"openspec/specs"})read_spec({"capability":"k8s-network-policies"})read_spec({"capability":"terraform-state-drift"})search_code({"text":"tf/"})read_file({"end_line":80,"path":"src/devops_cli/research/terraform_pins.py","start_line":1})search_code({"text":"def check_proposal"})search_code({"text":"criterion"})search_code({"text":"def criteria_problems"})search_code({"text":"Acceptance criteria"})search_code({"text":"def report("})read_file({"end_line":1080,"path":"src/devops_cli/commands/scan.py","start_line":990})Tool calls: file_symbols=6 (empty=0), find_issues=5 (empty=0), list_files=23 (empty=0), read_file=80 (empty=0), read_issue=3 (empty=0), read_spec=22 (empty=0), repo_map=1 (empty=0), search_code=92 (empty=3)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
feat(roadmap): extend stage review rounds while open findings drop (#…
docs(openspec): plan #4945 Set the AKS network policy to the Azure en…
devops-cli-service commentedon Nov 12, 2026
The step fix-plan pushed a revision of the plan of #5053 (3b7b21a). The model review found 2 open finding(s) in the plan before the repair and 1 after it, so the pull request keeps the label
plan/needs-fix.A model review of the plan found these open findings. The stage keeps this pull request a draft with the label
plan/needs-fixuntil a later round clears them:task_orderat group 2: Group 2 records the Trivy config result intf/README.mdbefore it runs the scan, so the recorded result depends on a later step of the same group; the plan's own feasibility says the group runs the scan first and then records the result. Evidence: "and to record that the Trivy config scan oftf/azurereports no AZU-0041 result fortf/azure/main.tf. Then run the two OpenTofu commands and the pinned Trivy's config scan on the module folder, and confirm the three results"dan-petty commentedon Nov 12, 2026
Owner decision for alert 213 (2026-11-12)
The owner chose option (b): set
api_server_access_profile.authorized_ip_rangeson the AKS cluster intf/azure/main.tffrom a new variable that has no default. An agent posts this decision for the owner.Reason. This change clears AZU-0041, and the API server endpoint stays public. The allowed ranges come from the variable when a person applies the module, so no address goes into git (AGENTS.md rule 10). Option (a), a private cluster, also clears AZU-0065, but then only the VNet can reach the API server.
Evidence.
tf/azure/main.tf.network_policy = "azure". That change clears only AZU-0043. A local Trivy 0.75.0 config scan oftf/azureon main gives AZU-0041 and AZU-0043. With the change of the plan, AZU-0041 (critical) stays and AZU-0043 goes. Withapi_server_access_profile { authorized_ip_ranges = ["198.51.100.0/24"] }(an RFC 5737 range), AZU-0041 goes.Next. #5053 closes with no merge. This item goes back to New, so that refine writes the design again and the stage job plans the chosen fix. SECURITY.md: the owner judges a CRITICAL alert within 24 hours; this item was filed at 06:16Z on 12 Nov.
dan-petty commentedon Nov 12, 2026
Returned to New for a new design and plan.
The refine design of this item clears the wrong rule. It sets a network policy, and that is AZU-0043 (alert 222, item dan-petty/infra#182). Alert 213 is AZU-0041, API server authorized IP ranges. Plan PR #5053 is closed with no merge for this reason.
The owner chose the fix on 2026-11-12 (option b): add
api_server_access_profile { authorized_ip_ranges = var.<name> }to the AKS cluster intf/azure/main.tf, with a new variable that has no default. The endpoint stays public, and no address goes into git. A test or a document uses RFC 5737 addresses only. A local Trivy 0.75.0 config scan oftf/azureclears AZU-0041 with this block. The time limit is near 06:16Z on 13 Nov (SECURITY.md: the owner judges a CRITICAL alert within 24 hours).devops-cli-service commentedon Nov 12, 2026
Plan pull request #5053 closed with no merge. The job waits for an edit of the text of this item, or for a commit that changes a file that the reason names.
The reason, from the last comment of dan-petty on the pull request:
fix(security): judge Trivy-config AZU-0041 in tf/azure/main.tf
devops-cli-service commentedon Nov 15, 2026
Released in v0.147.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.147.0
devops-cli-service commentedon Nov 15, 2026
Live since 2026-11-15 01:03 UTC