Skip to main content

Sample Azure Cosmos DB RQL Queries

note

The following guide will walk you through Azure Cosmos DB RQL Query Examples

Cosmos DB doesn't have an IP Range filter

Azure Cosmos DB Firewall Lock down your database to a subset of resources / limit accessibility

config from cloud.resource where cloud.type = 'azure' AND api.name = 'azure-cosmos-db' AND json.rule = properties.ipRangeFilter is empty

Cosmos DB doesn't have a service endpoint in the form of network filter

config from cloud.resource where api.name = 'azure-cosmos-db' AND json.rule = properties.isVirtualNetworkFilterEnabled is false