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.1011 Ensure Cosmos DB public network access is disabled

Severity: HighAzure

This check enforces a strict private-only baseline for Cosmos DB: 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 Cosmos DB account.
  2. Select Networking in the left menu.
  3. Under Public network access, select Disabled.
  4. Add a private endpoint under Private endpoint connections and link it to the appropriate virtual network and subnet.
  5. Click Save and verify that applications can still connect via the private endpoint.

Using Azure CLI: az cosmosdb update --name <account> --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