Control: EBS default encryption should be enabled
Description
[DEPRECATED] This control has been deprecated and will be removed in a future release, use the ebs_encryption_by_default_enabled control instead. 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.ec2_ebs_default_encryption_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.ec2_ebs_default_encryption_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 || ' default EBS encryption disabled.' else region || ' default EBS encryption enabled.' end as reason , region, account_idfrom aws_ec2_regional_settings;