Control: Azure Cosmos DB accounts should have firewall rules
Firewall rules should be defined on your Azure Cosmos DB accounts to prevent traffic from unauthorized sources. Accounts that have at least one IP rule defined with the virtual network filter enabled are deemed compliant. Accounts disabling public access are also deemed compliant.
Run the control in your terminal:
steampipe check terraform_azure_compliance.control.cosmosdb_account_with_firewall_rules
Snapshot and share results via Steampipe Cloud:
steampipe loginsteampipe check --share terraform_azure_compliance.control.cosmosdb_account_with_firewall_rules
This control uses a named query:cosmosdb_account_with_firewall_rules