last sync: 2025-May-26 17:12:08 UTC

Only allow images from certain image publishers to be deployed

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 93998338-fca3-4e49-b605-e9eeed2bae79 (1.0.0) to Azure
Display name Only allow images from certain image publishers to be deployed
Id 93998338-fca3-4e49-b605-e9eeed2bae79
Version 1.0.0
Details on versioning
Category Compute
Microsoft Learn
Description This policy ensures that only certain image publisher offerings are usable from the image repository
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/imagePublisher Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.publisher
properties.virtualMachineProfile.storageProfile.imageReference.publisher
properties.creationData.imageReference.id
True
True
True


False
False
False
Rule resource types IF (2)
Microsoft.Compute/virtualMachines
Microsoft.Compute/VirtualMachineScaleSets
JSON
EPAC
Deploy policy 93998338-fca3-4e49-b605-e9eeed2bae79 (1.0.0) to Azure