Skip to content

docs(openspec): plan #4945 Set the AKS network policy to the Azure engine - #5053

Closed
devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/4945-judge-trivy-config-azu-0041-in
Closed

devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/4945-judge-trivy-config-azu-0041-in

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Plans #4945

Trivy-config reports AZU-0041 for tf/azure/main.tf at CRITICAL severity. The AKS cluster of that module sets no network policy, so the cluster enforces no Kubernetes NetworkPolicy object. #4945 judges the alert by the first choice of SECURITY.md: set the Azure policy engine, the engine native to the cluster's Azure CNI plugin, add an invariant test that parses the module, and record the validation and Trivy config results in tf/README.md. The change adds no ignore entry and no dismissal.

Change: openspec/changes/4945-judge-trivy-config-azu-0041-in/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix labels Nov 12, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The stage_ready row leaves pull request #5053 a draft. It holds the label plan/needs-fix, because the model review of its plan found an open finding. Fix the plan, or remove the label when the finding is no defect.

@devops-cli-service
devops-cli-service Bot force-pushed the fix/4945-judge-trivy-config-azu-0041-in branch from 6a8a968 to 3b7b21a Compare November 12, 2026 19:23
@dan-petty

Copy link
Copy Markdown
Owner

Closed with no merge: this plan clears the wrong rule.

Alert 213 is AZU-0041 "Ensure AKS has an API Server Authorized IP Ranges enabled" (critical). The plan sets network_policy = "azure" in tf/azure/main.tf. That change clears AZU-0043 (alert 222, item dan-petty/infra#182) and leaves alert 213 open. A local Trivy 0.75.0 config scan of tf/azure confirms this: with the change of the plan, AZU-0041 stays and AZU-0043 goes. The record of task 2.1 in tf/README.md ("the scan reports no AZU-0041 result") would be false.

The owner chose the fix on 2026-11-12 (see #4945): api_server_access_profile.authorized_ip_ranges from a variable with no default. The new plan must set that block. The network policy design of this plan belongs to dan-petty/infra#182 (AZU-0043), and refine of dan-petty/infra#182 can use it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant