Policy: Azure > Cosmos DB > Database Account > Firewall > Virtual Networks > Required > Items
Configure database accounts to allow access only from specific subnets. The allowed subnets may belong to a virtual network in the same subscription, or those in a different subscription, including subscriptions belonging to a different Azure Active Directory tenant. This policy grants access to approved virtual networks.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- Azure > Cosmos DB > Database Account > Firewall
- Azure > Cosmos DB > Database Account > Firewall > Virtual Networks
- Azure > Cosmos DB > Database Account > Firewall > Virtual Networks > Required
Policy Packs
This policy setting is used by the following policy packs:
- Azure CIS v2.0.0 - Section 4 - Database Services
- Enforce Azure Cosmos DB Database Accounts Are Accessible to Selected Networks
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceRequired
- tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequiredItems
- turbot graphql policy-type --id "tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequiredItems"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequiredItems"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI