An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
The behavior is expected, not a bug. Azure Firewall management subnets cannot have a Network Security Group associated, but the NIST SP 800-171 R2 initiative includes a generic policy that audits all subnets for NSG association.
In the NIST SP 800-171 R2 (including Azure Government) initiatives, the control for “Subnets should be associated with a Network Security Group” is mapped to NIST control 3.13.6 and is implemented as a single built-in policy that audits subnets for NSG association:
- Policy: Subnets should be associated with a Network Security Group
- Effect:
AuditIfNotExists(or Audit/Deny in some initiatives) - Purpose: Enforce “deny by default, allow by exception” by requiring NSGs on subnets.
Azure Firewall’s AzureFirewallManagementSubnet is a special-purpose subnet that does not support NSG association. Because the policy is generic and evaluates all subnets, it flags this subnet as non-compliant even though attaching an NSG is blocked by the platform.
To handle this in a GCCH environment:
- Keep the NIST initiative assigned for overall compliance.
- Create a custom policy or initiative that:
- Excludes the AzureFirewallManagementSubnet (or the containing virtual network/resource group) from the built-in NSG-on-subnets policy scope, or
- Uses a condition to filter out subnets with the reserved name
AzureFirewallManagementSubnet.
- Re-run compliance; the AzureFirewallManagementSubnet should no longer be reported as non-compliant while other subnets remain governed by the NSG requirement.
This aligns with the documented mapping of the NSG requirement to NIST SP 800-171 R2 3.13.6 and the Azure Government variant of the initiative.
References:
- Details of the NIST SP 800-171 R2 Regulatory Compliance built-in initiative
- Details of the NIST SP 800-171 R2 (Azure Government) Regulatory Compliance built-in initiative
- Azure Policy Regulatory Compliance controls for Azure networking services
- Azure security baseline for Azure Firewall
- Azure security baseline for Azure Bastion