> 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-data-asset-not-encrypted-at-rest.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# Sensitive Data Asset Not Encrypted at Rest

### Synopsis

| Field             | Value                                                                                                                         |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Rule Type         | Detection                                                                                                                     |
| Severity          | Low                                                                                                                           |
| Category          | DATA                                                                                                                          |
| Cloud Providers   | AWS, AZURE                                                                                                                    |
| Platform Module   | DSPM                                                                                                                          |
| Asset Types       | AZURE\_SQL\_DATABASE, AZURE\_SQL\_SERVER, EBS\_ENCRYPTION, RDS\_DATABASE\_CLUSTER, RDS\_DATABASE\_INSTANCE, REDSHIFT\_CLUSTER |
| ATT\&CK Tactic    | TA0010 (TA0010)                                                                                                               |
| ATT\&CK Technique | T1537 (T1537)                                                                                                                 |

### Description

This rule detects assets that contain sensitive information stored without encryption. Encryption at rest protects data while it is not in transit, limiting the exposure of data to unauthorized reads and exfiltration attempts. Encryption at rest is recommended for all assets that contain sensitive data.

### Remediation

**Manual steps:**

RDS Database Instance - Remove Sensitive Data from the RDS Database:

Connect to the database `{entity}`. To get or change the necessary information for connectivity navigate to the Aurora and RDS dashboard in AWS, and view the instance's details.

Review the objects stored in the database and identify any sensitive data. Use the Evidence section of this issue in Cortex to get insights on the sensitive data.

Delete the sensitive data from the database.

RDS Database Instance - Transfer the Data for an Encrypted Instance:

AWS doesn't allow to enable encryption on an existing unencrypted instance, therefore the creation of a new instance is required.

Navigate to the Aurora and RDS dashboard.

On the left panel, choose Databases.

Click on Create database.

In Monitoring section, make sure that a KMS key is selected under AWS KMS key.

Proceed with choosing the relevant settings and creating the instance.

Transfer the data from the `{entity}` instance to the new instance.

RDS Database Cluster - Remove Sensitive Data from the RDS Database:

Connect to the database `{entity}`. To get or change the necessary information for connectivity navigate to the Aurora and RDS dashboard in AWS, and view the instance's details.

Review the objects stored in the database and identify any sensitive data. Use the Evidence section of this issue in Cortex to get insights on the sensitive data.

Delete the sensitive data from the database.

RDS Database Cluster - Transfer the Data for an Encrypted Cluster:

AWS doesn't allow to enable encryption on an existing unencrypted cluster, therefore the creation of a new cluster is required.

Navigate to the Aurora and RDS dashboard.

On the left panel, choose Databases.

Click on Create database.

In Monitoring section, make sure that a KMS key is selected under AWS KMS key.

Proceed with choosing the relevant settings and creating the cluster.

Transfer the data from the `{entity}` cluster to the new cluster.

Redshift Cluster - Enable Encryption on the Redshift Cluster:

Navigate to the Amazon Redshift console.

On the left panel, choose Provisioned clusters dashboard and then Clusters.

Select the `{entity}` cluster.

Choose the Properties tab.

In the Database configurations section, choose Edit and then Edit encryption.

Select Use AWS Key Management Service (AWS KMS) and choose the AWS KMS key to use.

Choose Save changes.

Note: Redshift migrates the cluster data to a new encrypted cluster. The cluster is read-only until the migration completes, so plan a maintenance window.

Redshift Cluster - Remove Sensitive Data from the Redshift Cluster:

Connect to the `{entity}` cluster using the Redshift query editor v2 or a SQL client.

Review the tables stored in the cluster and identify any sensitive data. Use the Evidence section of this issue in Cortex Cloud to get insights on the sensitive data.

Delete the sensitive data from the cluster.

Azure SQL Database - Enable Transparent Data Encryption (TDE) on the Azure SQL Database:

Sign in to the Azure Portal.

Navigate to SQL databases in the left panel.

Select the `{entity}` database.

Under Security, select Data Encryption.

Under Transparent data encryption, set Data encryption to ON.

Click Save.

Azure SQL Database - Remove Sensitive Data from the Azure SQL Database:

Connect to the `{entity}` database using Azure Data Studio or SQL Server Management Studio.

Review the tables stored in the database and identify any sensitive data. Use the Evidence section of this issue in Cortex to get insights on the sensitive data.

Delete the sensitive data from the database.

Azure SQL Server - Enable Transparent Data Encryption (TDE) on the Azure SQL Server:

Sign in to the Azure Portal.

Navigate to SQL servers in the left panel.

Select the `{entity}` server.

Under Security, select Transparent data encryption.

For each database listed, ensure Data encryption is set to ON.

Click Save.

Azure SQL Server - Remove Sensitive Data from the Azure SQL Server:

Connect to the `{entity}` server using Azure Data Studio or SQL Server Management Studio.

Review the databases and tables stored on the server and identify any sensitive data. Use the Evidence section of this issue in Cortex to get insights on the sensitive data.

Delete the sensitive data from the server.


---

# 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-data-asset-not-encrypted-at-rest.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.
