Policy: Azure > Cosmos DB > Database Account > Firewall > Virtual Networks > Required
Configure database accounts to allow access from specific virtual networks. This policy grants access to approved virtual networks and blocks unapproved internet traffic.
If set to Enforce: Required > Items
, this policy will grant access to the subnets in Required > Items.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
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 |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceRequired
- tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequired
- turbot graphql policy-type --id "tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequired"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-cosmosdb#/policy/types/databaseAccountFirewallVirtualNetworksRequired"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI