This rule ensures DynamoDB table point-in-time recovery is enabled for data protection and restoration purposes.
Rule | DynamoDB table point-in-time recovery should be enabled |
Framework | RBI Cyber Security Framework |
Severity | ✔ Low |
DynamoDB Table Point-in-Time Recovery for RBI Cyber Security Framework
Rule Description:
For compliance with the RBI (Reserve Bank of India) Cyber Security Framework, DynamoDB tables should have point-in-time recovery enabled. Point-in-time recovery allows you to restore your DynamoDB table to any point within the specified recovery window, typically up to 35 days. This provides protection against accidental data loss, table corruption, or malicious attacks.
Enabling point-in-time recovery helps ensure data availability and supports regulatory compliance requirements outlined in the RBI Cyber Security Framework.
Troubleshooting Steps:
1. Verify DynamoDB table name:
2. Check AWS Region:
3. Check IAM permissions:
dynamodb:UpdateTimeToLive
permission.4. Confirm table status:
5. Ensure table size limits:
Required Code:
No specific code is required to enable point-in-time recovery for DynamoDB tables. The remediation steps involve using AWS Management Console or AWS CLI to configure the table settings.
Remediation Steps:
Follow these steps to enable point-in-time recovery for a DynamoDB table:
AWS Management Console:
AWS CLI:
Open your preferred terminal or command prompt.
Use the following AWS CLI command to enable point-in-time recovery for a 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.Press Enter to execute the command.
Verify that the command executed successfully without any errors.
Once point-in-time recovery is enabled for the DynamoDB table, it will start capturing automatic backups of your data. You can use the backups to restore the table to any point in time within the specified recovery window if needed.
Ensure that you regularly monitor the size and cost implications of the enabled point-in-time recovery to optimize the performance and cost-effectiveness of your DynamoDB solution.
Note: Enabling point-in-time recovery may incur additional costs. Review the AWS pricing documentation for DynamoDB for the latest pricing details.
By following these steps, you will successfully enable point-in-time recovery for your DynamoDB table as required by the RBI Cyber Security Framework.