turbot/steampipe-mod-aws-compliance

Control: DynamoDB table should be encrypted with AWS KMS

Description

Ensure that encryption is enabled for your AWS DynamoDB tables. Because sensitive data can exist at rest in these tables, enable encryption at rest to help protect that data.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.dynamodb_table_encrypted_with_kms

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when sse_description is null then 'alarm'
else 'ok'
end as status,
case
when sse_description is null then title || ' not encrypted with KMS.'
else title || ' encrypted with KMS.'
end as reason
, region, account_id
from
aws_dynamodb_table;

Tags