turbot/alicloud_compliance

GitHub

Query: ecs_disk_encryption_enabled

Usage

steampipe query alicloud_compliance.query.ecs_disk_encryption_enabled

Plugins & Tables

SQL

select
-- Required Columns
arn as resource,
case
when encrypted then 'ok'
else 'alarm'
end as status,
case
when encrypted then title || ' encryption enabled.'
else title || ' encryption disabled.'
end as reason,
-- Additional Dimensions
region,
account_id
from
alicloud_ecs_disk
where
status = 'In_use';

Controls

The query is being used by the following controls: