Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
|||||||||||||||||||||||||||||||||||||||||||||||||
Display name | Prevent subnets without NSG | |||||||||||||||||||||||||||||||||||||||||||||||||
Id | 74c23fa8-5cea-413e-bf2c-8226f7728a46 | |||||||||||||||||||||||||||||||||||||||||||||||||
Version | 1.0.0 Details on versioning |
|||||||||||||||||||||||||||||||||||||||||||||||||
Category | Network Microsoft Learn |
|||||||||||||||||||||||||||||||||||||||||||||||||
Description | This policy prevents subnets without an NSG attached to them. | |||||||||||||||||||||||||||||||||||||||||||||||||
Mode | All | |||||||||||||||||||||||||||||||||||||||||||||||||
Type | Custom Community | |||||||||||||||||||||||||||||||||||||||||||||||||
Effect | Default Audit Allowed Deny, Audit, Disabled |
|||||||||||||||||||||||||||||||||||||||||||||||||
RBAC role(s) | none | |||||||||||||||||||||||||||||||||||||||||||||||||
Rule aliases | IF (6)
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Rule resource types | IF (2) Microsoft.Network/virtualNetworks Microsoft.Network/virtualNetworks/subnets |
|||||||||||||||||||||||||||||||||||||||||||||||||
JSON |
|