MP.AZR.1012 Ensure Event Hub public network access is disabled
This check enforces a strict private-only baseline for Event Hubs: any enabled public network access, including selected-network access, fails. Well-Architected guidance permits restricting public access when private-only access doesn't fit the workload, so confirm that this baseline is appropriate before remediation. This is a local custom check, not an automated APRL-mapped check or a universal Well-Architected Framework requirement; apply it according to your organization's baseline and workload requirements.
Remediation action:
- In the Azure portal, navigate to the Event Hubs namespace.
- Select Networking in the left menu.
- Under Public access, select Disabled.
- Add a private endpoint under Private endpoint connections and link it to the appropriate virtual network and subnet.
- Update application connection strings to use the private endpoint FQDN, then click Save.
Using Azure CLI:
az eventhubs namespace update --name <namespace> --resource-group <rg> --public-network-access Disabled
Related links
%TestResult%