> 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/appsec-rules/iac-security/storage/appsec-aws-361.md).

# AWS Neptune DB clusters have backup retention period less than 7 days misconfiguration detected in c

## Rule Details

|                        |                                           |
| ---------------------- | ----------------------------------------- |
| Cortex AppSec Rule ID  | APPSEC\_AWS\_361                          |
| Category - Subcategory | Storage - Backups                         |
| Provider               | AWS                                       |
| Severity               | LOW                                       |
| Framework              | CloudFormation, Terraform, Terraform Plan |
| Mapped CSPM/KSPM Rule  | dccd9e6f-c6c0-41d7-a0af-18b6ff1bf227      |

## Impact

This rule checks whether a Neptune DB cluster in AWS (Amazon Web Services) has automated backups enabled and if these backups have an appropriate retention period. A backup is a copy of data that can be used to restore and recover data in the event of a failure or loss. The retention period refers to the length of time that backups are retained or kept.

The reason why this policy is important is that if automated backups are not enabled or do not have an adequate retention period, there could be a significant risk to the organization. Backups provide a safeguard against data loss, corruption or accidental deletion. Insufficient retention could lead to a situation where essential data cannot be restored because the backup has been discarded. Therefore, neglecting the importance of proper backup strategies could lead to detrimental effects on the business, from downtime to legal or compliance issues.

## How to Fix

To fix this issue, ensure that the `BackupRetentionPeriod` property in the `AWS::Neptune::DBCluster` resource is set to at least 7 days.

## Example: \[source,go]

## Resources: MyNeptuneDBCluster: Type: AWS::Neptune::DBCluster Properties: BackupRetentionPeriod: 7 ...


---

# 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/appsec-rules/iac-security/storage/appsec-aws-361.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.
