This rule ensures that SNS topics are securely encrypted at rest.
Rule | SNS topics should be encrypted at rest |
Framework | CISA-cyber-essentials |
Severity | ✔ Medium |
Rule/Policy Description:
SNS (Simple Notification Service) topics should be encrypted at rest for CISA (Cybersecurity and Infrastructure Security Agency) Cyber Essentials compliance. This policy ensures that the data stored in SNS topics is protected and cannot be accessed or tampered with by unauthorized individuals.
Troubleshooting Steps:
If you are experiencing issues with encrypting SNS topics at rest, follow these troubleshooting steps:
Necessary Codes:
If encryption at rest is not enabled for SNS topics, use the following code to enable encryption:
aws sns set-topic-attributes --topic-arn <topic-arn> --attribute-name KmsMasterKeyId --attribute-value <kms-key-arn>
Replace
<topic-arn>
with the ARN of the SNS topic and <kms-key-arn>
with the ARN of the KMS key to be used for encryption.Step-by-Step Guide for Remediation:
Follow these steps to enable encryption at rest for SNS topics:
Note: It is recommended to consult the relevant AWS documentation for more detailed instructions and guidance specific to your AWS account and configuration.