Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
|||||||||||||||||||||
Display name | Resource Lock should be enabled | |||||||||||||||||||||
Id | 5c91215f-8ca0-4ca3-8b56-a4a3ec336d8d | |||||||||||||||||||||
Version | 1.0.0 Details on versioning |
|||||||||||||||||||||
Category | Backup Microsoft Learn |
|||||||||||||||||||||
Description | With this policy: any resource that has the tag key LockLevel with the value CanNotDelete means authorized users can read and modify the resource, but they can t delete it. | |||||||||||||||||||||
Mode | Indexed | |||||||||||||||||||||
Type | Custom Community | |||||||||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
|||||||||||||||||||||
RBAC role(s) |
|
|||||||||||||||||||||
Rule aliases | THEN-ExistenceCondition (2)
|
|||||||||||||||||||||
Rule resource types | THEN-Deployment (1) Microsoft.Authorization/locks |
|||||||||||||||||||||
JSON |
|