This rule ensures that DynamoDB tables have encryption enabled for data security.
Rule | DynamoDB table should have encryption enabled |
Framework | GxP EU Annex 11 |
Severity | ✔ Low |
Rule Description:
The DynamoDB table should have encryption enabled to ensure compliance with the requirements of GxP (Good x Practice) and the European Union (EU) Annex 11 standard for data security and privacy.
Troubleshooting Steps (if applicable):
If encryption is not enabled for the DynamoDB table, follow the below steps to troubleshoot and enable encryption:
Check the encryption status of the DynamoDB table. This can be done through the AWS Management Console, AWS CLI, or AWS SDKs/APIs.
If encryption is not enabled, proceed to enable it using the appropriate method as per your preference.
Necessary Codes/Configuration (if applicable):
Here are the necessary codes/configuration to enable encryption for DynamoDB table:
Enabling encryption using AWS Management Console:
Enabling encryption using AWS CLI:
Replaceaws dynamodb update-table --table-name <table-name> --sse-specification Enabled=true, SSEType=<encryption-type>
<table-name>
with the actual name of the DynamoDB table, and <encryption-type>
with the desired encryption type, such as 'KMS' for AWS Key Management Service.Step-by-Step Guide for Remediation:
Follow these step-by-step instructions to enable encryption for the DynamoDB table:
Option 1: Enabling encryption using AWS Management Console:
Option 2: Enabling encryption using AWS CLI:
<table-name>
with the actual name of the DynamoDB table.Ensure that you follow the proper guidelines and best practices regarding key management and access policies for the encryption method you choose.
Remember to validate and test the encryption settings after enabling encryption to ensure that the DynamoDB table is appropriately encrypted and complies with GxP EU Annex 11 requirements.