CloudWiki
Rules
Medium

Ensure DocumentDB database clusters have a minimum backup retention period

Other
Description

Ensuring that your DocumentDB database clusters have a minimum backup retention period is an important step in protecting your data and maintaining compliance with regulations. A backup retention period ensures that you have a reliable copy of your data in case of accidental deletion, corruption, or other data loss events. To ensure that your DocumentDB database clusters have a minimum backup retention period, you can configure backup retention settings in the AWS Management Console. This allows you to specify the minimum number of days that backup data should be retained, and ensures that your backups are available for recovery if needed. By setting a minimum backup retention period, you can protect your data against accidental loss, corruption, or deletion, and maintain compliance with industry regulations and best practices.

Remediation

Here are some general remediation steps that you can follow to ensure that your DocumentDB database clusters have a minimum backup retention period:

  1. Review current backup retention settings: First, review the current backup retention settings of your DocumentDB database cluster. You can do this by navigating to the DocumentDB dashboard in the AWS Management Console and selecting the cluster you want to review.
  2. Modify backup retention settings: If your cluster does not have a minimum backup retention period set or has a period that is shorter than desired, modify the backup retention settings to ensure that backups are retained for a minimum number of days. To do this, go to the "Backup" section of your DocumentDB cluster, and select the desired backup retention period from the "Backup Retention Period" drop-down menu.
  3. Verify changes: After making changes to the backup retention settings, verify that the changes have been applied successfully. You can do this by checking the cluster details in the DocumentDB dashboard.
  4. Monitor backup usage: Once you have set a minimum backup retention period, monitor the usage of your backups to ensure that they are being retained for the desired period. You can use the DocumentDB dashboard to monitor the number of backups stored, their size, and other metrics.
  5. Test backup recovery: To ensure that your backups are reliable and can be used for recovery, periodically test the backup recovery process. This can be done by restoring a backup to a test instance or environment and verifying that the data is complete and accurate.

By following these steps, you can ensure that your DocumentDB database clusters have a minimum backup retention period and that your data is protected against accidental loss or corruption.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.