> 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/sensitive-snapshot-shared-with-external-account.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Sensitive Snapshot Shared with External Account

### Synopsis

| Field             | Value                                                                                                       |
| ----------------- | ----------------------------------------------------------------------------------------------------------- |
| Rule Type         | Detection                                                                                                   |
| Severity          | High                                                                                                        |
| Category          | DATA                                                                                                        |
| Cloud Providers   | AWS                                                                                                         |
| Platform Module   | DSPM                                                                                                        |
| Asset Types       | AWS\_REDSHIFT\_CLUSTER\_SNAPSHOTS, EBS\_SNAPSHOT, RDS\_DATABASE\_CLUSTER\_SNAPSHOT, RDS\_DATABASE\_SNAPSHOT |
| ATT\&CK Tactic    | TA0010 (TA0010)                                                                                             |
| ATT\&CK Technique | T1078 (T1078)                                                                                               |

### Description

This rule detects sensitive snapshots that have been shared with external accounts. Since snapshots contain full copies of critical resources, sharing them outside the organization exposes sensitive information to potential misuse or compromise. Attackers or untrusted third parties with access to these snapshots can exfiltrate data, replicate systems, or leverage the information in further attacks. Access to sensitive snapshots should be limited strictly to internal organizational accounts, with external sharing disabled unless explicitly required and tightly controlled.

### Remediation

**Manual steps:**

RDS Database Snapshot - Remove External Sharing for RDS Database Snapshot:

Navigate to the Amazon RDS console.

In the left-hand menu, choose Snapshots and select the database snapshot `{entity}`.

Click on Actions button on top right.

Click on Share snapshot.

Identify external AWS accounts that the snapshot is shared with and select Delete for those accounts.

Click Save or confirm to update the permissions.

RDS Database Cluster Snapshot - Remove External Sharing for RDS Database Cluster Snapshot:

Navigate to the Amazon RDS console.

In the left-hand menu, choose Snapshots and select the database snapshot `{entity}`.

Click on Actions button on top right.

Click on Share snapshot.

Identify external AWS accounts that the snapshot is shared with and select Delete for those accounts.

Click Save or confirm to update the permissions.

EBS Snapshot - Remove External Sharing for EBS Snapshot:

Navigate to the Amazon EC2 console.

In the left-hand menu, under Elastic Block Store, choose Snapshots.

Select the snapshot `{entity}`.

Choose the Snapshot settings tab to review sharing settings.

Choose on Modify permissions.

Select any external AWS accounts listed under Shared accounts.

Click on Remove selected.

Click on Modify permissions.

AWS Redshift Cluster Snapshots - Remove External Sharing for Redshift Cluster Snapshot:

Navigate to the Amazon Redshift console.

In the left navigation pane, select Snapshots.

Choose the cluster snapshot `{entity}`.

Go to the Snapshot access section.

Click on Remove account for evry external AWS account IDs listed under shared accounts.

Click on Save.


---

# 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/sensitive-snapshot-shared-with-external-account.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.
