> 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-encryption-not-configured-with-customer-managed-encryption-key-cmek.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP Storage Bucket encryption not configured with Customer-Managed Encryption Key (CMEK)

### Synopsis

| Field               | Value                                                                                    |
| ------------------- | ---------------------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                                |
| Finding Type        | GCP Storage Bucket encryption not configured with Customer-Managed Encryption Key (CMEK) |
| Finding ID          | 60000870                                                                                 |
| Generates a Finding | This detection rule also generates a finding                                             |
| Severity            | Medium                                                                                   |
| Category            | CONFIGURATION                                                                            |
| Cloud Providers     | GCP                                                                                      |
| Platform Module     | CSPM                                                                                     |
| Asset Types         | GOOGLE\_CLOUD\_STORAGE\_BUCKET                                                           |
| ATT\&CK Tactic      | TA0040 (TA0040)                                                                          |
| ATT\&CK Technique   | T1486 (T1486)                                                                            |

### Description

Unencrypted with CMEK Google Cloud Storage buckets risk unauthorized access to sensitive data in case of platform compromise. Google's default encryption uses Google-managed keys, leaving the keys and therefore the data vulnerable to potential Google compromise. Using customer-managed encryption keys (CMEK) provides stronger security and regulatory compliance.

Google Cloud Storage allows configuring bucket encryption with CMEKs for enhanced control and security. Failure to do so leaves data encrypted with Google-managed keys, exposing it to a wider attack surface. A compromised Google key management system could allow unauthorized access to data in all buckets using Google-managed encryption.

The impact of this misconfiguration is the potential for unauthorized access to sensitive data stored in the bucket. This violates data privacy regulations and can lead to data breaches, financial loss, and reputational damage. CMEK provides stronger data protection by ensuring that only authorized entities with access to the customer-managed key can decrypt the data.

Implement CMEK for all Google Cloud Storage buckets containing sensitive data. Regularly audit bucket configurations to ensure CMEKs are correctly configured and applied. Restrict access to the CMEK using appropriate Identity and Access Management (IAM) roles.

### Remediation

**Manual steps:**

Google Cloud Storage Bucket - Manual remediation steps:

To update the GCP storage bucket with customer-managed encryption, follow the below steps:

1. Sign in to the Google Cloud Management Console. Navigate to the Cloud Storage Buckets page.
2. Click on the name of the bucket where you want to enable customer-managed encryption.
3. Under the 'Configuration' tab, under the 'Protection' section, select the 'Edit encryption type' option.
4. A 'Edit encryption' dialogue box will appear. Select the 'Customer-managed encryption key' option.
5. Under the 'Select a customer-managed key' dropdown, select the KMS key to be used for encryption.
6. Click on 'SAVE'.

Note: Make sure the storage bucket service account has cloudkms.cryptoKeyEncrypterDecrypter permissions to encrypt or decrypt with the selected key.


---

# 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-encryption-not-configured-with-customer-managed-encryption-key-cmek.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.
