Control: Cosmos DB should use a virtual network service endpoint
Description
This policy audits any Cosmos DB not configured to use a virtual network service endpoint.
Usage
Run the control in your terminal:
powerpipe control run terraform_azure_compliance.control.cosmosdb_use_virtual_service_endpoint
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_azure_compliance.control.cosmosdb_use_virtual_service_endpoint --share
SQL
This control uses a named query:
cosmosdb_use_virtual_service_endpoint