Control: Cosmos DB account 'Access Control' should be configured to use Azure Active Directory (AAD) and Role-Based Access Control (RBAC)
Description
Azure Cosmos DB accounts should use Azure Active Directory (AAD) Client Authentication and Role-Based Access Control (RBAC) for access control.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.cosmosdb_account_uses_aad_and_rbac
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.cosmosdb_account_uses_aad_and_rbac --share
SQL
This control uses a named query:
cosmosdb_account_uses_aad_and_rbac