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

Community Policy definition

VNet Peering is only allowed to approved VNets

Name VNet Peering is only allowed to approved VNets
Community-Policy GitHub
Id network_vnet-peering-is-only-allowed-to-approved-vnets
Version n/a
details on versioning
Category Network
Microsoft docs
Description This policy denied you from peering to a VNet that's not on the list of approved VNets.
Mode All
Type Custom Community
Effect Default
deny
Allowed
deny, audit, disabled
Used RBAC Role none
Rule Aliases IF (2)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Network/virtualNetworks/virtualNetworkPeerings/remoteVirtualNetwork.id Microsoft.Network virtualNetworks/virtualNetworkPeerings properties.remoteVirtualNetwork.id false
Microsoft.Network/virtualNetworks/virtualNetworkPeerings[*].remoteVirtualNetwork.id Microsoft.Network virtualNetworks properties.VirtualNetworkPeerings[*].properties.remoteVirtualNetwork.id false
Rule ResourceTypes
JSON