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_kmsSnapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.dynamodb_table_encrypted_with_kms --shareSQL
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_idfrom  aws_dynamodb_table;