turbot/alicloud_insights

Query: ecs_disk_encryption_table

Usage

powerpipe query alicloud_insights.query.ecs_disk_encryption_table

SQL

select
d.disk_id as "Disk ID",
d.name as "Name",
case when d.encrypted then 'Enabled' else null end as "Encryption",
d.kms_key_id as "KMS Key ID",
a.title as "Account",
d.account_id as "Account ID",
d.region as "Region",
d.arn as "ARN"
from
alicloud_ecs_disk as d,
alicloud_account as a
where
d.account_id = a.account_id
order by
d.disk_id;

Dashboards

The query is used in the dashboards: