compliance.tf
Azure Compliance ControlsAzure Virtual Machines

Virtual machines should have all network ports restricted by their associated network security groups

Azure Security Center has identified some of your network security groups' inbound rules to be too permissive. Inbound rules should not allow access from 'Any' or 'Internet' ranges. This can potentially enable attackers to target your resources.

What this control checks

Inbound rules should not allow access from 'Any' or 'Internet' ranges.

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

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

  • 0858.09m1Organizational.4-09.m 09.06 Network Security Management

PCI DSS v3.2.1

  • 1.3.2 Limit inbound Internet traffic to IP addresses within the DMZ
  • Do not allow unauthorized outbound traffic from the cardholder data environment to the Internet

Tool mappings

Use these identifiers to cross-reference this control across tools, reports, and evidence.

  • Compliance.tf Control: compute_vm_remote_access_restricted_all_ports
  • Powerpipe Control: azure_compliance.control.compute_vm_remote_access_restricted_all_ports

Last reviewed: 2026-10-11

View all Azure controls →

On this page

Ask AI about this

Help improve this page