> 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-msk-cluster-encryption-in-transit-is-not-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS MSK cluster encryption in transit is not enabled

### Synopsis

| Field               | Value                                                |
| ------------------- | ---------------------------------------------------- |
| Rule Type           | Detection                                            |
| Finding Type        | AWS MSK cluster encryption in transit is not enabled |
| Finding ID          | 60000610                                             |
| Generates a Finding | This detection rule also generates a finding         |
| Severity            | Medium                                               |
| Category            | CONFIGURATION                                        |
| Cloud Providers     | AWS                                                  |
| Platform Module     | CSPM                                                 |
| Asset Types         | AMAZON\_MSK\_CLUSTER                                 |
| ATT\&CK Tactic      | TA0112 (TA0112)                                      |
| ATT\&CK Technique   | T1685 (T1685)                                        |

### Description

AWS Managed Streaming for Kafka (MSK) clusters lacking in-transit encryption are vulnerable to data breaches. Data transmitted between brokers is exposed to interception and unauthorized access without encryption.

The AWS MSK service allows enabling in-transit encryption for enhanced data security. Disabling this setting exposes sensitive data during transfer between brokers, making it susceptible to eavesdropping and unauthorized access by malicious actors. Attackers could intercept sensitive data, potentially leading to data breaches, regulatory fines, and reputational damage.

The impact of this misconfiguration is the exposure of sensitive data transmitted within the MSK cluster. Maintaining data confidentiality and integrity is crucial; enabling in-transit encryption protects against unauthorized access and ensures compliance with data protection regulations. Strong encryption is a fundamental security best practice for protecting data in transit.

To mitigate this risk, ensure that in-transit encryption is enabled for all AWS MSK clusters. Regularly audit cluster configurations to verify that this setting remains enabled.

### Remediation

**Manual steps:**

Amazon MSK Cluster - Manual remediation steps:

To enable in-transit encryption both within the cluster and client broker communication has to be configured with TLS.

To enable TLS encryption for client-broker communication, follow the below steps:

1. Sign in to the AWS Management Console and open the Amazon MSK console at <https://console.aws.amazon.com/msk/>.
2. On the navigation menu, choose 'Clusters', and select the MSK cluster for which you want to enable or edit in-transit encryption.
3. Under the 'Actions' dropdown, select 'Edit security settings'.
4. Under 'Encryption', please uncheck the 'Plaintext' option and make sure the 'TLS encryption' option is selected for 'Between clients and brokers' encryption configuration.
5. Click on 'Update' to save changes.

Enabling TLS encryption for within-cluster communication involves creating a new cluster. To create a new cluster, please follow the below steps:

1. Sign in to the AWS Management Console and open the Amazon MSK console at <https://console.aws.amazon.com/msk/>.
2. On the navigation menu, choose 'Clusters', then select 'Create cluster'.
3. Under the 'Create Cluster' page, please configure the cluster as per the requirements.
4. At Step 3, under 'Encryption', select 'TLS encryption' for the 'Between clients and brokers' checkbox.
5. Select 'TLS encryption' for the 'Within the cluster' checkbox.
6. After providing the required configuration in the remaining steps, Under step 5, click on 'Create cluster'.


---

# 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-msk-cluster-encryption-in-transit-is-not-enabled.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.
