turbot/steampipe-mod-aws-compliance

Control: SNS topics should be encrypted at rest

Description

To help protect data at rest, ensure that your AWS Simple Notification Service (AWS SNS) topics require encryption using AWS Key Management Service (AWS KMS).

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.sns_topic_encrypted_at_rest

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

select
topic_arn as resource,
case
when kms_master_key_id is null then 'alarm'
else 'ok'
end as status,
case
when kms_master_key_id is null then title || ' encryption at rest disabled.'
else title || ' encryption at rest enabled.'
end as reason
, region, account_id
from
aws_sns_topic;

Tags