Name | Deploy or audit for a specific role assignment at the subscription scope Community-Policy GitHub |
|||||||||||||||
Id | 920965ec-47a1-4db9-b85c-8612be3a081f | |||||||||||||||
Version | 1.0.0 details on versioning |
|||||||||||||||
Category | Authorization Microsoft docs |
|||||||||||||||
Description | This policy will validate that a specific role assignment exists or not. It can either audit for the role assignment or deploy it if it does not exist. | |||||||||||||||
Mode | All | |||||||||||||||
Type | Custom Community | |||||||||||||||
Effect | Default AuditIfNotExists Allowed AuditIfNotExists, DeployIfNotExists, Disabled |
|||||||||||||||
Used RBAC Role |
|
|||||||||||||||
Rule Aliases | THEN-ExistenceCondition (2)
|
|||||||||||||||
Rule ResourceTypes | IF (1) Microsoft.Resources/subscriptions THEN-Deployment (2) Microsoft.Authorization/roleAssignments Microsoft.Authorization/roleDefinitions |
|||||||||||||||
JSON |
|