turbot/steampipe-mod-aws-compliance

Control: EBS volume encryption at rest should be enabled

Description

Because sensitive data can exist and to help protect data at rest, ensure 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_volume_encryption_at_rest_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.ebs_volume_encryption_at_rest_enabled --share

SQL

This control uses a named query:

select
arn as resource,
case
when encrypted then 'ok'
else 'alarm'
end as status,
case
when encrypted then volume_id || ' encrypted.'
else volume_id || ' not encrypted.'
end as reason
, region, account_id
from
aws_ebs_volume;

Tags