turbot/aws_compliance

Query: ebs_attached_volume_encryption_enabled

Usage

powerpipe query aws_compliance.query.ebs_attached_volume_encryption_enabled

Steampipe Tables

SQL

select
arn as resource,
case
when state != 'in-use' then 'skip'
when encrypted then 'ok'
else 'alarm'
end as status,
case
when state != 'in-use' then volume_id || ' not attached.'
when encrypted then volume_id || ' encrypted.'
else volume_id || ' not encrypted.'
end as reason
, region, account_id
from
aws_ebs_volume;

Controls

The query is being used by the following controls: