LowScript packFree

Azure APRL and Custom Controls

Azure checks comprising APRL-mapped recommendations and local custom controls.

By teemukom · Version 0.1.0 · Published 11 Nov 2026

← All tests

MP.AZR.1012 Ensure Event Hub public network access is disabled

Severity: HighAzure

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:

  1. In the Azure portal, navigate to the Event Hubs namespace.
  2. Select Networking in the left menu.
  3. Under Public access, select Disabled.
  4. Add a private endpoint under Private endpoint connections and link it to the appropriate virtual network and subnet.
  5. 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%

Install
Install-MtPack teemukom/maesterpack-azure

Assumes Maester is installed. New to Maester? Get started.

Next: connect and run
Connect
Connect-Maester -Service Azure
Run
Invoke-Maester -Pack AZR -SkipBuiltIn -SkipGraphConnect