turbot/aws_compliance

Query: ebs_encryption_by_default_enabled

Usage

powerpipe query aws_compliance.query.ebs_encryption_by_default_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 || ' EBS encryption by default disabled.'
else region || ' EBS encryption by default enabled.'
end as reason
, region, account_id
from
aws_ec2_regional_settings;

Controls

The query is being used by the following controls: