turbot/alicloud_insights

Query: ecs_snapshot_age_table

Usage

powerpipe query alicloud_insights.query.ecs_snapshot_age_table

SQL

select
s.name as "Name",
s.snapshot_id as "Snapshot ID",
now()::date - s.creation_time::date as "Age in Days",
s.creation_time as "Create Time",
s.status as "State",
a.title as "Account",
s.account_id as "Account ID",
s.region as "Region",
s.arn as "ARN"
from
alicloud_ecs_snapshot as s,
alicloud_account as a
where
s.account_id = a.account_id
order by
s.creation_time,
s.name;

Dashboards

The query is used in the dashboards: