turbot/azure_insights

Query: cosmosdb_account_encryption

Usage

powerpipe query azure_insights.query.cosmosdb_account_encryption

Steampipe Tables

SQL

select
'Encryption' as label,
case when key_vault_key_uri is null then 'Platform-Managed' else 'Customer-Managed' end as value,
case when key_vault_key_uri is null then 'alert' else 'ok' end as type
from
azure_cosmosdb_account
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: