turbot/aws_compliance

Query: ec2_ebs_default_encryption_enabled

Usage

powerpipe query aws_compliance.query.ec2_ebs_default_encryption_enabled

SQL

select
'arn:' || partition || '::' || region || ':' || account_id as resource,
case
when not default_ebs_encryption_enabled then 'alarm'
else 'ok'
end as status,
case
when not default_ebs_encryption_enabled then region || ' default EBS encryption disabled.'
else region || ' default EBS encryption enabled.'
end as reason,
region,
account_id
from
aws_ec2_regional_settings;

Controls

The query is being used by the following controls: