turbot/azure_insights

Query: cosmosdb_account_automatic_failover_status

Usage

powerpipe query azure_insights.query.cosmosdb_account_automatic_failover_status

Steampipe Tables

SQL

select
automatic_failover,
count(*) as accounts
from
(
select
case
when not enable_automatic_failover then 'disabled'
else 'enabled'
end automatic_failover
from
azure_cosmosdb_account
) as s
group by
automatic_failover
order by
automatic_failover;

Dashboards

The query is used in the dashboards: