Control: EBS encryption by default should be enabled
Description
To help protect data at rest, ensure that encryption is enabled for your AWS Elastic Block Store (AWS EBS) volumes.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.ebs_encryption_by_default_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ebs_encryption_by_default_enabled --share
SQL
This control uses a named query:
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_idfrom aws_ec2_regional_settings;