AZIAM-006: Network Security Group rules audit

Platform
Entra ID / M365
Category
Azure IAM & Resource Security
Severity
High
Zero Trust pillar
Identity (weight 3)
Golden fixtures
4
Branch coverage
Observed: fixtures prove the verdicts they exercise
Provenance
baseline

What it checks

Network Security Groups control inbound and outbound traffic flow to Azure resources and are a primary network segmentation mechanism. Overly permissive NSG rules, such as allowing unrestricted inbound access from the internet on management ports, expose resources to brute-force attacks and exploitation. Regular audits of NSG rules are essential to maintain a secure network perimeter.

Recommended value

Deny all inbound internet traffic by default; allow only required ports from specific source IP ranges

Remediation

Review all NSG rules for overly permissive entries, particularly any rules allowing inbound traffic from 0.0.0.0/0 or Any on ports such as 22, 3389, 445, or 1433. Replace broad allow rules with specific source IP ranges or service tags and remove unused rules. Enable NSG flow logs and integrate with Azure Network Watcher for continuous monitoring of traffic patterns and anomaly detection.

Fixture-proven verdicts

Every verdict below is proven by a golden fixture in the module's gating test suite. This table derives from the last green run; it cannot be edited by hand.

Verdict scenarios for AZIAM-006
ScenarioExpected verdict
cleanPASS
known-badFAIL
no-dataNot Assessed
partial-collectionNot Assessed

Framework mappings

NIST SP 800-53
SC-7
CIS Azure
6.1