> 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-customer-master-key-cmk-rotation-is-not-enabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Customer Master Key (CMK) rotation is not enabled

### Synopsis

| Field               | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Rule Type           | Detection                                             |
| Finding Type        | AWS Customer Master Key (CMK) rotation is not enabled |
| Finding ID          | 60000020                                              |
| Generates a Finding | This detection rule also generates a finding          |
| Severity            | Informational                                         |
| Category            | CONFIGURATION                                         |
| Cloud Providers     | AWS                                                   |
| Platform Module     | CSPM                                                  |
| Asset Types         | AWS\_KMS\_KEY\_ROTATION\_STATUS                       |
| ATT\&CK Tactic      | TA0006 (TA0006)                                       |
| ATT\&CK Technique   | T1552 (T1552)                                         |

### Description

AWS Customer Master Keys (CMKs) lacking enabled rotation pose a significant security risk. Failure to rotate CMKs regularly leaves organizations vulnerable to data breaches if a key is compromised.

AWS KMS allows creation of CMKs to encrypt data across various services. However, static CMKs increase the risk of data exposure if a key is compromised. An attacker gaining access to an unrotated CMK could decrypt sensitive data indefinitely.

The impact of this misconfiguration is the potential for unauthorized access to encrypted data. Regular CMK rotation minimizes this risk by ensuring that even if a key is compromised, only a limited amount of data remains vulnerable. This best practice enhances data security and maintains compliance with industry standards.

To mitigate this risk, enable automatic CMK rotation. Configure a rotation schedule appropriate for your organization's risk tolerance. Regularly review and audit CMK rotation status to ensure the process functions correctly and that all CMKs are appropriately configured.

### Remediation

**Manual steps:**

AWS KMS Key Rotation Status - Manual remediation steps:

1. Log in to the AWS console
2. In the console, select the specific region from region drop-down on the top right corner, for which the alert is generated
3. Navigate to Key Management Service (KMS)
4. Click on 'Customer managed keys' (Left Panel)
5. Select reported KMS Customer managed key
6. Under the 'Key Rotation' tab, Enable 'Automatically rotate this CMK every year'
7. Click on Save


---

# 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-customer-master-key-cmk-rotation-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.
