> 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/gcp-storage-bucket-cmek-not-rotated-every-90-days.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Storage bucket CMEK not rotated every 90 days

### Synopsis

| Field               | Value                                             |
| ------------------- | ------------------------------------------------- |
| Rule Type           | Detection                                         |
| Finding Type        | GCP Storage bucket CMEK not rotated every 90 days |
| Finding ID          | 60001437                                          |
| Generates a Finding | This detection rule also generates a finding      |
| Severity            | Low                                               |
| Category            | CONFIGURATION                                     |
| Cloud Providers     | GCP                                               |
| Platform Module     | CSPM                                              |
| Asset Types         | GOOGLE\_CLOUD\_KMS\_CRYPTO\_KEYS                  |

### Description

GCP Storage buckets using Customer-Managed Encryption Keys (CMEKs) that aren't rotated at least every 90 days pose a significant security risk. Prolonged use of the same CMEK increases the probability of compromise, potentially leading to unauthorized data access and breaches.

Cloud Storage uses CMEKs to encrypt data at rest. However, a static CMEK, if compromised, grants attackers access to all data encrypted with that key. Failure to regularly rotate CMEKs weakens this crucial security layer, leaving sensitive data vulnerable to theft or modification. Untrusted actors gaining access to the key can exploit this misconfiguration.

The impact of this misconfiguration is data exposure and potential data breaches. Regular key rotation significantly minimizes the window of opportunity for attackers to exploit a compromised key, enhancing data confidentiality and integrity. It's a fundamental best practice to limit the risk of persistent key vulnerabilities.

To mitigate this risk, implement automated CMEK rotation schedules for all GCP Storage buckets using CMEKs. Configure the rotation period to be less than 90 days. Regularly audit and monitor the rotation status of all CMEKs to ensure the schedule is maintained and effective.

### Remediation

1. Log in to GCP console
2. Navigate Cloud Storage Buckets page
3. Click on the reported bucket
4. Go to 'Configuration' tab
5. Under 'Default encryption key', click on the key name
6. Click on 'EDIT ROTATION PERIOD'
7. Select 90 days or less for 'Rotation period' dropdown
8. Click '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/gcp-storage-bucket-cmek-not-rotated-every-90-days.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.
