Check if DynamoDB table is encrypted with AWS KMS to ensure data security.
Rule | DynamoDB table should be encrypted with AWS KMS |
Framework | CISA-cyber-essentials |
Severity | ✔ Medium |
Rule Description:
The DynamoDB table should be encrypted with AWS Key Management Service (KMS) for compliance with CISA Cyber Essentials.
Troubleshooting Steps:
Necessary Code:
The following AWS CLI commands can be used to configure encryption for a DynamoDB table using AWS KMS:
aws dynamodb update-table \ --table-name <table-name> \ --sse-specification 'Enabled=true, SSEType=KMS, KMSMasterKeyId=<kms-key-id>'
Step-by-Step Guide:
Ensure that the selected KMS key is compliant with the CISA Cyber Essentials requirements to have a secure and compliant configuration.
Note:
Remember to replace
<table-name>
with the actual name of your DynamoDB table and <kms-key-id>
with the ARN or key ID of the desired KMS key.