turbot/alicloud_compliance

Query: ecs_unattached_disk_encryption_enabled

Usage

powerpipe query alicloud_compliance.query.ecs_unattached_disk_encryption_enabled

Steampipe Tables

SQL

select
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
, account_id as account_id, region as region
from
alicloud_ecs_disk
where
status = 'Available';

Controls

The query is being used by the following controls: