last sync: 2024-Oct-21 17:52:17 UTC

Append NSG Rule

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy eed215e2-d3d3-4090-8137-24d4a8260170 (1.0.0) to Azure
Display name Append NSG Rule
Id eed215e2-d3d3-4090-8137-24d4a8260170
Version 1.0.0
Details on versioning
Category Network
Microsoft Learn
Description This Policy will append a rule to newly deployed NSGs that contain a specificied suffix.
Mode All
Type Custom Community
Effect Default
Append
Allowed
Append, Deny, Audit, Disabled
Used RBAC Role none
Rule aliases IF (14)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/networkSecurityGroups/securityRules[*] Microsoft.Network networkSecurityGroups properties.securityRules[*] True True
Microsoft.Network/networkSecurityGroups/securityRules[*].access Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.access True True
Microsoft.Network/networkSecurityGroups/securityRules[*].destinationAddressPrefix Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.destinationAddressPrefix True True
Microsoft.Network/networkSecurityGroups/securityRules[*].destinationAddressPrefixes Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.destinationAddressPrefixes True True
Microsoft.Network/networkSecurityGroups/securityRules[*].destinationPortRange Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.destinationPortRange True True
Microsoft.Network/networkSecurityGroups/securityRules[*].destinationPortRanges Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.destinationPortRanges True True
Microsoft.Network/networkSecurityGroups/securityRules[*].direction Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.direction True True
Microsoft.Network/networkSecurityGroups/securityRules[*].name Microsoft.Network networkSecurityGroups properties.securityRules[*].name True True
Microsoft.Network/networkSecurityGroups/securityRules[*].priority Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.priority True True
Microsoft.Network/networkSecurityGroups/securityRules[*].protocol Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.protocol True True
Microsoft.Network/networkSecurityGroups/securityRules[*].sourceAddressPrefix Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.sourceAddressPrefix True True
Microsoft.Network/networkSecurityGroups/securityRules[*].sourceAddressPrefixes Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.sourceAddressPrefixes True True
Microsoft.Network/networkSecurityGroups/securityRules[*].sourcePortRange Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.sourcePortRange True True
Microsoft.Network/networkSecurityGroups/securityRules[*].sourcePortRanges Microsoft.Network networkSecurityGroups properties.securityRules[*].properties.sourcePortRanges True True
THEN-Details (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/networkSecurityGroups/securityRules[*] Microsoft.Network networkSecurityGroups properties.securityRules[*] True True
Rule resource types IF (1)
Microsoft.Network/networkSecurityGroups
JSON
EPAC
Deploy policy eed215e2-d3d3-4090-8137-24d4a8260170 (1.0.0) to Azure