last sync: 2025-Jul-15 17:24:34 UTC

Allowed Disk states for Snapshots

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 3fadc318-0f23-4880-a82e-34ab659ed1ed (1.0.0) to Azure
Display name Allowed Disk states for Snapshots
Id 3fadc318-0f23-4880-a82e-34ab659ed1ed
Version 1.0.0
Details on versioning
Category Compute
Microsoft Learn
Description This policy audits or blocks certain disk states for Azure Snapshots. https://learn.microsoft.com/en-us/rest/api/compute/snapshots/get?tabs=HTTP#diskstate
Mode Indexed
Type Custom Community
Effect Default
Audit
Allowed
Deny, Audit, Disabled
RBAC role(s) none
Rule aliases IF (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Compute/snapshots/diskState Microsoft.Compute snapshots properties.diskState True False
Rule resource types none
JSON
EPAC
Deploy policy 3fadc318-0f23-4880-a82e-34ab659ed1ed (1.0.0) to Azure