> 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-sagemaker-notebook-instance-not-configured-with-data-encryption-at-rest-using-kms-key.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS SageMaker notebook instance not configured with data encryption at rest using KMS key

### Synopsis

| Field               | Value                                                                                     |
| ------------------- | ----------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                 |
| Finding Type        | AWS SageMaker notebook instance not configured with data encryption at rest using KMS key |
| Finding ID          | 60000438                                                                                  |
| Generates a Finding | This detection rule also generates a finding                                              |
| Severity            | Medium                                                                                    |
| Category            | CONFIGURATION                                                                             |
| Cloud Providers     | AWS                                                                                       |
| Platform Module     | CSPM                                                                                      |
| Asset Types         | AMAZON\_SAGEMAKER\_NOTEBOOK\_INSTANCE                                                     |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                                           |
| ATT\&CK Technique   | T1486 (T1486)                                                                             |

### Description

Unencrypted data stored on AWS SageMaker notebook instances risks unauthorized access and data breaches. SageMaker notebook instances, by default, may not encrypt data at rest. This leaves sensitive data vulnerable to various attacks if the underlying storage is compromised.

AWS SageMaker offers encryption at rest for notebook instances using customer-managed or AWS-managed KMS keys. Failure to enable this setting exposes data to potential theft or unauthorized modification. Attackers gaining access to the underlying storage could easily exfiltrate sensitive information.

A data breach resulting from this misconfiguration could lead to significant financial losses, regulatory penalties, and reputational damage. Encrypting data at rest ensures that even if the storage is compromised, the data remains unreadable without the appropriate decryption key, significantly reducing the risk of data breaches.

Implement encryption at rest for all SageMaker notebook instances using an AWS managed KMS key. Regularly review and audit the encryption settings to ensure they remain properly configured and aligned with security best practices. Employ strong access controls for the KMS key itself to further limit access.

For more details: <https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html>

### Remediation

**Manual steps:**

AWS SageMaker Notebook Instance - Manual remediation steps:

AWS SageMaker notebook instance cannot be configured with data encryption at rest once it is created. You need to create a new notebook instance with encryption at rest using the KMS key; migrate all required data from the reported notebook instance to the newly created notebook instance before you delete the reported notebook instance.

To create a New AWS SageMaker notebook instance,

1. Log in to AWS console
2. Navigate to the AWS SageMaker dashboard
3. Choose Notebook instances and then choose 'Create notebook instance'
4. On the Create notebook instance page, From the 'Permissions and encryption' section,

   select the KMS key from the 'Encryption key - optional' dropdown list. If no KMS keys already, you have to create a KMS key first.
5. Choose other parameters as per your requirement and click on the 'Create notebook instance' button

To delete reported notebook instance,

1. Log in to AWS console
2. Navigate to the AWS SageMaker dashboard
3. Choose Notebook instances and Choose the reported notebook instance
4. Click on the 'Actions' dropdown menu and, select the 'Stop' option, and when instance stops, select the 'Delete' option.
5. Within Delete dialog box, click the Delete button to confirm the action.


---

# 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-sagemaker-notebook-instance-not-configured-with-data-encryption-at-rest-using-kms-key.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.
