> 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-rds-retention-policy-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 RDS retention policy less than 7 days

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS RDS retention policy less than 7 days    |
| Finding ID          | 60000180                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Low                                          |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | RDS\_DATABASE\_INSTANCE                      |
| ATT\&CK Tactic      | TA0112 (TA0112)                              |
| ATT\&CK Technique   | T1685 (T1685)                                |

### Description

Amazon RDS instances with backup retention periods less than seven days present a significant data loss risk. Insufficient backup retention hinders recovery from incidents like accidental deletion, ransomware attacks, or system failures.

The AWS RDS service allows configuring backup retention policies for database instances. Setting a retention period shorter than seven days severely limits the ability to restore data to a time before a damaging event. Attackers could exploit this misconfiguration to render data recovery impossible, potentially leading to significant data loss and business disruption.

A misconfiguration resulting in insufficient backup retention exposes organizations to substantial financial losses, reputational damage, and regulatory non-compliance. Maintaining at least seven days of backups ensures data recoverability in the event of various incidents, minimizing downtime and maintaining business continuity.

To mitigate this risk, ensure all RDS instances maintain a backup retention policy of at least seven days. Regularly review and audit backup retention settings across all RDS instances. Implement automated alerts for instances nearing their retention policy expiration and establish a process for promptly addressing any discrepancies.

### Remediation

**Manual steps:**

RDS Database Instance - Manual remediation steps:

Configure your RDS backup retention policy to at least 7 days.

1. Go to the AWS console RDS dashboard.
2. In the navigation pane, choose Instances.
3. Select the database instance you wish to configure.
4. Click on 'Modify'.
5. Scroll down to Additional Configuration and set the retention period to at least 7 days under 'Backup retention period'.
6. Click Continue.
7. Under 'Scheduling of modifications' choose 'When to apply modifications'
8. On the confirmation page, Review the changes and Click on 'Modify DB Instance' to save your 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-rds-retention-policy-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.
