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

# AWS ElastiCache Redis cluster with in-transit encryption disabled (Replication group)

### Synopsis

| Field               | Value                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                             |
| Finding Type        | AWS ElastiCache Redis cluster with in-transit encryption disabled (Replication group) |
| Finding ID          | 60000157                                                                              |
| Generates a Finding | This detection rule also generates a finding                                          |
| Severity            | Low                                                                                   |
| Category            | CONFIGURATION                                                                         |
| Cloud Providers     | AWS                                                                                   |
| Platform Module     | CSPM                                                                                  |
| Asset Types         | AMAZON\_ELASTICACHE\_REPLICATION\_GROUP                                               |

### Description

ElastiCache Redis replication groups lacking in-transit encryption expose sensitive data during network transmission.

AWS ElastiCache Redis replication groups utilize multiple nodes for data redundancy and high availability. Disabling in-transit encryption leaves data vulnerable to eavesdropping and interception by malicious actors during communication between these nodes and clients. Compromised data could lead to data breaches, unauthorized access, and potential regulatory non-compliance.

The impact of this misconfiguration includes exposure of sensitive data stored within the ElastiCache Redis cluster to attackers. Maintaining data confidentiality requires securing data in transit, preventing unauthorized access and maintaining data integrity. Implementing in-transit encryption is a critical security control for protecting sensitive data within the cluster.

To mitigate this risk, enable in-transit encryption for all ElastiCache Redis replication groups. Regularly review and audit the encryption settings to ensure continued protection of sensitive data.

### Remediation

To Modify the in-transit encryption setting, for an existing cluster, is supported on replication groups running Valkey 7.2 and later, and Redis OSS version 7 and later.

Enabling encryption in transit, is a two-step process, you must first set the transit encryption mode to preferred. This mode allows your Valkey or Redis OSS clients to connect using both encrypted and unencrypted connections. After you migrate all your Valkey or Redis OSS clients to use encrypted connections, you can then modify your cluster configuration to set the transit encryption mode to required. Setting the transit encryption mode to required will drop all unencrypted connections and will allow encrypted connections only.

To Set your Transit encryption mode to Preferred:

1. Sign in to the AWS Management Console and open the Amazon ElastiCache console at <https://console.aws.amazon.com/elasticache/>.
2. Choose Valkey caches or Redis OSS caches from the ElastiCache Resources listed on the navigation pane, present on the left hand.
3. Choose the cache you want to update.
4. Choose the Actions dropdown, then choose Modify.
5. Choose Enable under Encryption in transit in the Security section.
6. Choose Preferred as the Transit encryption mode.
7. Choose Preview changes and save your changes.

After you migrate all your Valkey or Redis OSS clients to use encrypted connections:

To Set your Transit encryption mode to Required:

1. Sign in to the AWS Management Console and open the Amazon ElastiCache console at <https://console.aws.amazon.com/elasticache/>.
2. Choose Valkey caches or Redis OSS caches from the ElastiCache Resources listed on the navigation pane, present on the left hand.
3. Choose the cache you want to update.
4. Choose the Actions dropdown, then choose Modify.
5. Choose Required as the Transit encryption mode, in the Security section.
6. Choose Preview changes and save your changes.

To enable in-transit encryption on existing ElastiCache for Redis clusters (versions 3.2.6 and 6.X ), you must recreate the cluster, once the new encrypted resource is created and then migrate all required ElastiCache Redis cluster data from the reported ElastiCache Redis cluster to this newly created cluster and delete reported ElastiCache Redis cluster.

To create new ElastiCache Redis cluster with In-transit encryption set, refer to the url <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Create.html#Clusters.Create.CON.RedisCluster>

To delete reported ElastiCache Redis cluster, refer to the url <https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/Clusters.Delete.html>


---

# 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-elasticache-redis-cluster-with-in-transit-encryption-disabled-replication-group.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.
