Skip to content

Step 3.5: Governance

Discover effective Azure Policy assignments (including management-group-inherited ones), classify their effects, and emit the 04-governance-constraints.{md,json} artifacts that gate downstream IaC planning and deployment.

04g-Governance uses the apex-azure-governance-discovery skill.

Select: 04g-Governance in Copilot Chat
Output: agent-output/{project}/04-governance-constraints.md
agent-output/{project}/04-governance-constraints.json
  • Policy assignments at subscription + management-group scope.
  • Policy definitions and exemptions referenced by assignments.
  • Effect classification (Deny, Audit, Modify, DeployIfNotExists).
  • Property mapping through bicepPropertyPath and azurePropertyPath for downstream validation.
  • SKU allowlist projection via derive-sku-allowlist.mjs, written into sku-manifest.sku_allowlist_snapshot.

When the committed baseline (.github/data/governance-policy-baseline.json.gz) covers the target subscription, 04g can render from it instead of calling Azure. The repository ships an ALZ Corp default baseline: the policy that a subscription inherits under the Azure landing zone Corp management group (the root, landing_zones and corp archetypes of a pinned ALZ library release, including assignments shipped as DoNotEnforce). It has one synthetic subscription entry, so no real subscription matches it.

When the target subscription is absent, 04g asks you to choose Run live discovery or Use ALZ Corp default as assumed governance. The default is labelled assumed and not tenant-verified in every artifact, and the review below stays mandatory. Teams that run the tenant baseline workflow replace the file with their own policy state. Regenerate the default with npm run generate:governance-baseline-alz.

One governance-reconciliation review is mandatory when constraints exist. Use the 10-Challenger handoff. An empty policy array can skip this review, but failed or incomplete discovery does not establish that the scope has no constraints.

After approving the constraints, select Step 4: IaC plan.