> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-documentdb-clusters-have-backup-retention-period-less-than-7-days.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS DocumentDB clusters have backup retention period less than 7 days

### Synopsis

| Field               | Value                                                                 |
| ------------------- | --------------------------------------------------------------------- |
| Rule Type           | Detection                                                             |
| Finding Type        | AWS DocumentDB clusters have backup retention period less than 7 days |
| Finding ID          | 60001453                                                              |
| Generates a Finding | This detection rule also generates a finding                          |
| Severity            | Low                                                                   |
| Category            | CONFIGURATION                                                         |
| Cloud Providers     | AWS                                                                   |
| Platform Module     | CSPM                                                                  |
| Asset Types         | AMAZON\_DOCUMENT\_DB\_DATABASE\_CLUSTER                               |

### Description

Insufficient backup retention periods for AWS DocumentDB clusters increase the risk of data loss and hinder recovery from incidents. A retention period shorter than seven days leaves the organization vulnerable to data breaches and compliance violations.

DocumentDB's automated backups are crucial for disaster recovery and business continuity. A short retention period significantly reduces the window for restoring data following a security incident or accidental deletion. Attackers could exploit this misconfiguration to permanently delete data, making recovery impossible within a reasonable timeframe.

The impact of this misconfiguration is substantial data loss, potentially leading to significant financial losses, reputational damage, and regulatory penalties for non-compliance. Maintaining a minimum seven-day retention period ensures sufficient time for recovery and forensic analysis following a security event.

To mitigate this risk, configure all AWS DocumentDB clusters with a backup retention period of at least seven days, or a longer duration as dictated by regulatory requirements or business needs. Regularly review and audit these settings to ensure compliance and prevent accidental modification.

### Remediation

To modify an Amazon DocumentDB cluster's backup retention period:

1. Sign in to the AWS Management Console.
2. In the console, select the specific region from the region dropdown in the top right corner where the alert is generated.
3. Navigate to the Amazon DocumentDB console by either searching for 'Amazon DocumentDB' in the AWS services search bar or directly accessing the Amazon DocumentDB service.
4. In the navigation pane, choose 'Clusters' and select the cluster name that is reported.
5. Click 'Actions' in the right corner, and then select 'Modify' from the drop-down menu.
6. On the Modify cluster page, under the 'Backup' section, select the desired backup retention period in days from the 'Backup retention period' drop-down menu based on your business or compliance requirements.
7. Click 'Continue' to review a summary of your changes.
8. Choose either 'Apply during the next scheduled maintenance window' or 'Apply immediately' based on your scheduling preference for modifications.
9. Click on 'Modify Cluster' to implement the changes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-documentdb-clusters-have-backup-retention-period-less-than-7-days.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
