compliance.tf
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.

NIST SP 800-53 Rev 5

  • Information Flow Enforcement (AC-4)
  • SC-7: Boundary Protection
  • SC-7(3) Access Points

NIST SP 800-171 Rev 2

  • 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).

CIS Azure Benchmark v5.0.0

  • 7.11 Ensure subnets are associated with network security groups

RBI IT Framework for NBFCs

  • 5 Policy for Information System Audit (IS Audit)

FedRAMP High

  • AC-4 Information Flow Enforcement
  • SC-7 Boundary Protection
  • SC-7(3) Access Points

HIPAA HITRUST v9.2

  • 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

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

View all Azure controls →

On this page

Ask AI about this

Help improve this page