Sign in
Menu
Sign up
Docs

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.

Audit evidence

Evidence that deployed resources meet this control: Azure Policy compliance results for the built-in policy definition "Cosmos DB should use a virtual network service endpoint" (e0a2b1a3-f7f9-4569-807f-2a9edebdf4d9); PowerPipe control azure_compliance.control.cosmosdb_use_virtual_service_endpoint.

Framework-specific interpretation

HIPAA HITRUST v9.2: Mapped to 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) and 1 more clause.

Framework mappings

The clauses this control is mapped to in each framework.

HIPAA HITRUST v9.2

  • 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

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

View all Azure controls →

On this page

Ask AI about this

Help improve this page