turbot/steampipe-mod-aws-compliance

Control: DynamoDB Accelerator (DAX) clusters should be encrypted at rest

Description

This control checks whether a DAX cluster is encrypted at rest. Encrypting data at rest reduces the risk of data stored on disk being accessed by a user not authenticated to AWS. The encryption adds another set of access controls to limit the ability of unauthorized users to access to the data. For example, API permissions are required to decrypt the data before it can be read.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.dax_cluster_encryption_at_rest_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when sse_description ->> 'Status' = 'ENABLED' then 'ok'
else 'alarm'
end as status,
case
when sse_description ->> 'Status' = 'ENABLED' then title || ' encryption at rest enabled.'
else title || ' encryption at rest not enabled.'
end as reason
, region, account_id
from
aws_dax_cluster;

Tags