last sync: 2025-Jun-18 17:23:32 UTC

audit-vms-based-on-marketplace-acg-images

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy f858ee3e-c148-4be0-9286-62b66d581c76 (1.0.0) to Azure
Display name audit-vms-based-on-marketplace-acg-images
Id f858ee3e-c148-4be0-9286-62b66d581c76
Version 1.0.0
Details on versioning
Category Compute
Microsoft Learn
Description Audit Virtual Machines based on marketplace or Azure Compute Gallery images. createOption value 'FromImage' is used when you are using an image to create the virtual machine.
Mode All
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/virtualMachines/storageProfile.osDisk.createOption Microsoft.Compute virtualMachines properties.storageProfile.osDisk.createOption True True
Rule resource types IF (1)
Microsoft.Compute/virtualMachines
JSON
EPAC
Deploy policy f858ee3e-c148-4be0-9286-62b66d581c76 (1.0.0) to Azure