Azure Compliance ControlsAzure Virtual Network
Subnets should have a network security group configured
Subnets should be associated with a Network Security Group. This policy denies if a gateway subnet is configured with a network security group. Assigning a network security group to a gateway subnet will cause the gateway to stop functioning.
What this control checks
Subnets should be associated with a Network Security Group; a gateway subnet with an NSG is denied.
Framework mappings
The clauses this control is mapped to in each framework.
- Information Flow Enforcement (AC-4)
- SC-7: Boundary Protection
- SC-7(3) Access Points
NIST Cybersecurity Framework v2.0
- ID.AM-03
- PR.IR-01
- 3.1.3 Control the flow of CUI in accordance with approved authorizations
- 3.13.1: Monitor, control, and protect communications (i.e., information transmitted or received by organizational systems) at the external boundaries and key internal boundaries of organizational systems.
- 3.13.2 Employ architectural designs, software development techniques, and systems engineering principles that promote effective information security within organizational systems
- 3.13.5 Implement subnetworks for publicly accessible system components that are physically or logically separated from internal networks
- 3.13.6: Deny network communications traffic by default and allow network communications traffic by exception (i.e., deny all, permit by exception).
- 7.11 Ensure subnets are associated with network security groups
- 5 Policy for Information System Audit (IS Audit)
- AC-4 Information Flow Enforcement
- SC-7 Boundary Protection
- SC-7(3) Access Points
- 0805.01m1Organizational.12-01.m 01.04 Network Access Control
- 0806.01m2Organizational.12356-01.m 01.04 Network Access Control
- 0809.01n2Organizational.1234-01.n 01.04 Network Access Control
- 0810.01n2Organizational.5-01.n 01.04 Network Access Control
- 0811.01n2Organizational.6-01.n 01.04 Network Access Control
3 more clauses
- 0812.01n2Organizational.8-01.n 01.04 Network Access Control
- 0814.01n1Organizational.12-01.n 01.04 Network Access Control
- 0894.01m2Organizational.7-01.m 01.04 Network Access Control
Related controls
- Network security groups should limit inbound TCP port 21 access from the internet
- Azure subscriptions should have an Activity Log Alert configured for Delete Network Security Group Rule
- Virtual machine network interfaces should have IP forwarding disabled
- Virtual network peerings should have their connection state set to connected
- Public IP addresses should not be listed in Shodan
Tool mappings
Use these identifiers to cross-reference this control across tools, reports, and evidence.
- Compliance.tf Control:
network_security_group_subnet_associated - Powerpipe Control:
azure_compliance.control.network_security_group_subnet_associated
Last reviewed: 2026-10-14