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

Community Policy definition

Enforce network security groups to have a DENY RDP security rule.

Name Enforce network security groups to have a DENY RDP security rule.
Community-Policy GitHub
Id network_deploy-security-rule-to-existing-nsg
Version n/a
details on versioning
Category undefined
Microsoft docs
Description Enforce network security groups to have a DENY RDP security rule.
Mode All
Type Custom Community
Effect Default
deployIfNotExists
Allowed
DoNotEnforce, deployIfNotExists
Used RBAC Role
Role Name Role Id
Network Contributor 4d97b98b-1d4f-4787-a291-c67834d212e7
Rule Aliases THEN-ExistenceCondition (3)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Network/networkSecurityGroups/securityRules/access Microsoft.Network networkSecurityGroups/securityRules properties.access true
Microsoft.Network/networkSecurityGroups/securityRules/destinationPortRange Microsoft.Network networkSecurityGroups/securityRules properties.destinationPortRange true
Microsoft.Network/networkSecurityGroups/securityRules/direction Microsoft.Network networkSecurityGroups/securityRules properties.direction true
Rule ResourceTypes IF (1)
Microsoft.Network/networkSecurityGroups
JSON