azure-mg-eff-write
match (effective permission)
{
"action": "Microsoft.Management/managementGroups/write",
"resource_type": "Microsoft.Management/managementGroups"
}
emit
| source type | Identity |
|---|---|
| target type | * |
| source | <principal> |
| target | <management group node> |
| permissions | Microsoft.Management/managementGroups/write |
Narrative
{principal.name} can write management group {mg.name} (create/rename/reparent).
Raw rule rules/explicit/azure-mgmtgroups.yaml
id: azure-mg-eff-write
emits: HasPermission
applies_to:
- azure
match_effective_permission:
action: Microsoft.Management/managementGroups/write
resource_type: Microsoft.Management/managementGroups
emit:
source_type: Identity
target_type: '*'
source: <principal>
target: <management group node>
api_source: roleAssignments evaluation at MG scope
permissions:
- Microsoft.Management/managementGroups/write
note: Create/rename/reparent MGs. Held by Owner, Contributor, Management Group Contributor. Feeds derived
azure-mg-reparent.
narrative: '{principal.name} can write management group {mg.name} (create/rename/reparent).'