> 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-encrypted-using-customer-managed-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 encrypted using Customer Managed Key

### Synopsis

| Field               | Value                                                                    |
| ------------------- | ------------------------------------------------------------------------ |
| Rule Type           | Detection                                                                |
| Finding Type        | AWS SageMaker notebook instance not encrypted using Customer Managed Key |
| Finding ID          | 60000444                                                                 |
| 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      | TA0009 (TA0009)                                                          |
| ATT\&CK Technique   | T1530 (T1530)                                                            |

### Description

Unencrypted AWS SageMaker notebook instances with Customer Managed Keys (CMKs) present a significant security risk, allowing unauthorized access to sensitive data stored within them.

SageMaker notebook instances store sensitive data, including code, models, and datasets. Using AWS-managed keys for encryption provides less granular control than CMKs. Attackers exploiting a misconfiguration could gain access to this data, leading to data breaches, intellectual property theft, or regulatory non-compliance.

The impact of this misconfiguration includes unauthorized data access, potential data breaches, and significant financial and reputational damage. Using CMKs allows for more granular control over encryption keys, improving security posture and compliance with data protection regulations. Stronger encryption helps prevent data loss and ensures confidentiality.

To mitigate this risk, encrypt all SageMaker notebook instances using CMKs. Regularly audit encryption settings and ensure CMKs are rotated according to security best practices. Implement robust access controls to limit who can manage and access these keys.

### Remediation

**Manual steps:**

AWS SageMaker Notebook Instance - Manual remediation steps:

AWS SageMaker notebook instance encryption cannot be modified once it is created. You need to create a new notebook instance with encryption using a custom 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, within the 'Permissions and encryption' section,

   From the 'Encryption key - optional' dropdown list, choose a custom KMS key for the new SageMaker notebook instance.
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, 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-encrypted-using-customer-managed-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.
