last sync: 2023-Jun-19 17:45:01 UTC

Community Policy definition

Audit Specified Resource Type For Any Lock

Name Audit Specified Resource Type For Any Lock
Community-Policy GitHub
Id audit-resourcetype-for-lock
Version n/a
details on versioning
Category undefined
Microsoft docs
Description This policy audits the specified resource type for any lock such as 'CanNotDelete' or 'ReadOnly'.
Mode All
Type Custom Community
Effect Fixed
auditIfNotExists
Used RBAC Role none
Rule Aliases THEN-ExistenceCondition (1)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Authorization/locks/level Microsoft.Authorization locks properties.level false
Rule ResourceTypes THEN-Details (1)
Microsoft.Authorization/locks
JSON
{5 items}