turbot/azure_insights

Query: cosmosdb_account_automatic_failover_disabled_count

Usage

powerpipe query azure_insights.query.cosmosdb_account_automatic_failover_disabled_count

Steampipe Tables

SQL

select
count(*) as value,
'Automatic Failover Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
azure_cosmosdb_account
where
not enable_automatic_failover;

Dashboards

The query is used in the dashboards: