turbot/alicloud_insights

Query: ecs_disk_auto_snapshot

Usage

powerpipe query alicloud_insights.query.ecs_disk_auto_snapshot

Steampipe Tables

SQL

select
'Auto Snapshot' as label,
case when enable_auto_snapshot then 'Enabled' else 'Disabled' end as value,
case when enable_auto_snapshot then 'ok' else 'alert' end as type
from
alicloud_ecs_disk
where
account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4)
and arn = $1;

Dashboards

The query is used in the dashboards: