turbot/steampipe-mod-aws-compliance

Control: Log group encryption at rest should be enabled

Description

To help protect sensitive data at rest, ensure encryption is enabled for your AWS CloudWatch Log Group.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.log_group_encryption_at_rest_enabled

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
arn as resource,
case
when kms_key_id is null then 'alarm'
else 'ok'
end as status,
case
when kms_key_id is null then title || ' not encrypted at rest.'
else title || ' encrypted at rest.'
end as reason
, region, account_id
from
aws_cloudwatch_log_group;

Tags