turbot/steampipe-mod-alicloud-insights

Query: ecs_snapshot_instant_access

Usage

powerpipe query alicloud_insights.query.ecs_snapshot_instant_access

Steampipe Tables

SQL

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

Dashboards

The query is used in the dashboards: