turbot/alicloud_insights

Query: ecs_disk_delete_auto_snapshot_count

Usage

powerpipe query alicloud_insights.query.ecs_disk_delete_auto_snapshot_count

Steampipe Tables

SQL

select
count(*) as value,
'Auto Snapshot Deletion Disabled' as label,
case count(*) when 0 then 'ok' else 'alert' end as "type"
from
alicloud_ecs_disk
where
enable_auto_snapshot and
not delete_auto_snapshot;

Dashboards

The query is used in the dashboards: