This rule states that DynamoDB table point-in-time recovery should be enabled to ensure data safety and recovery options.
Rule | DynamoDB table point-in-time recovery should be enabled |
Framework | FedRAMP Low Revision 4 |
Severity | ✔ Low |
DynamoDB Table Point-in-Time Recovery for FedRAMP Low Revision 4
Rule Description:
DynamoDB is a fully managed NoSQL database service provided by AWS. Point-in-Time Recovery (PITR) is a feature that enables continuous backups of table data. In compliance with FedRAMP Low Revision 4 standards, it is necessary to enable PITR for DynamoDB tables to ensure data durability and availability. This rule ensures that PITR is enabled for all DynamoDB tables in order to meet the required security and compliance standards.
Troubleshooting Steps (if applicable):
If PITR is not enabled for a DynamoDB table, follow these troubleshooting steps:
dynamodb:UpdateContinuousBackups
action is required.Necessary Code (if applicable):
To enable point-in-time recovery for a DynamoDB table, you can use the AWS Command Line Interface (CLI) or AWS SDKs with the appropriate programming language. Below is the sample code using AWS CLI:
aws dynamodb update-continuous-backups --table-name <table-name> --point-in-time-recovery-specification PointInTimeRecoveryEnabled=True
Replace
<table-name>
with the actual name of the DynamoDB table you want to enable PITR for.Step-by-Step Guide for Remediation:
Follow the steps below to enable point-in-time recovery for a DynamoDB table:
Launch AWS CLI: Open your preferred terminal or command prompt and ensure that AWS CLI is installed and properly configured with your AWS IAM credentials.
Execute Command: Run the following AWS CLI command to enable PITR for the desired DynamoDB table:
aws dynamodb update-continuous-backups --table-name <table-name> --point-in-time-recovery-specification PointInTimeRecoveryEnabled=True
Replace
<table-name>
with the actual name of the DynamoDB table you want to enable PITR for.aws dynamodb describe-continuous-backups --table-name <table-name>
Replace
<table-name>
with the actual name of the DynamoDB table. Check the response for the PointInTimeRecoveryDescription
field. It should show that PITR is enabled.Conclusion:
Enabling point-in-time recovery for DynamoDB tables helps ensure data durability and availability, meeting the FedRAMP Low Revision 4 compliance requirements. By following the provided steps and using the appropriate AWS CLI command, you can easily enable PITR for your DynamoDB tables, enhancing the security and compliance posture of your AWS infrastructure.