Azure Compliance ControlsAzure Cosmos DB
Cosmos DB accounts should use a virtual network service endpoint
This policy audits any Cosmos DB not configured to use a virtual network service endpoint. The Azure Policy rule targets `Microsoft.DocumentDB/databaseAccounts`. It flags accounts where `virtualNetworkRules[*].id` does not exist.
What this control checks
Cosmos DB accounts without a virtual network service endpoint are audited.
Framework mappings
The clauses this control is mapped to in each framework.
- 0805.01m1Organizational.12-01.m 01.04 Network Access Control
- 0806.01m2Organizational.12356-01.m 01.04 Network Access Control
- 0864.09m2Organizational.12-09.m 09.06 Network Security Management
- 0894.01m2Organizational.7-01.m 01.04 Network Access Control
Related controls
Tool mappings
Use these identifiers to cross-reference this control across tools, reports, and evidence.
- Compliance.tf Control:
cosmosdb_use_virtual_service_endpoint - Powerpipe Control:
azure_compliance.control.cosmosdb_use_virtual_service_endpoint - Azure Policy Definition:
e0a2b1a3-f7f9-4569-807f-2a9edebdf4d9
Last reviewed: 2026-10-11