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

# AWS MQ Broker is not encrypted by Customer Managed Key (CMK)

### Synopsis

| Field               | Value                                                        |
| ------------------- | ------------------------------------------------------------ |
| Rule Type           | Detection                                                    |
| Finding Type        | AWS MQ Broker is not encrypted by Customer Managed Key (CMK) |
| Finding ID          | 60000734                                                     |
| Generates a Finding | This detection rule also generates a finding                 |
| Severity            | Low                                                          |
| Category            | CONFIGURATION                                                |
| Cloud Providers     | AWS                                                          |
| Platform Module     | CSPM                                                         |
| Asset Types         | AMAZON\_MQ\_BROKER                                           |

### Description

AWS MQ Brokers lacking encryption with a Customer Managed Key (CMK) pose a significant security risk. Sensitive data within broker messages could be exposed if only the default AWS-managed key is used.

AWS MQ offers encryption using either an AWS-managed key or a customer-managed key (CMK). Using the default AWS-managed key provides basic encryption, but lacks the granular control and compliance advantages of a CMK. Without a CMK, unauthorized access to the AWS-managed key could lead to data breaches, impacting confidentiality and regulatory compliance.

A misconfiguration allowing only AWS-managed key encryption for an AWS MQ broker increases the risk of data exposure and unauthorized access to sensitive information. Employing a CMK provides stronger control over encryption keys, aligning with best practices for data protection and fulfilling compliance mandates.

To mitigate this risk, enforce the use of CMK for all AWS MQ Brokers. Regularly audit broker configurations to ensure compliance. Implement monitoring and alerting to detect and promptly address any instances where a CMK is not utilized.

### Remediation

AWS MQ Broker encryption option can be done only at the creation of MQ broker. You cannot change the encryption options once it has been created. To resolve this alert create a new MQ broker configuring encryption with CMK key, migrate all data to newly created MQ broker and then delete the reported MQ broker.

To create a new AWS MQ broker encryption with CMK key,

1. Log in to the AWS console
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated
3. Go to the AWS MQ broker Dashboard
4. Click on 'Create brokers'
5. Select the broker engine type, deployment mode as per your business requirement
6. Under 'Configure settings', In Additional settings section choose Encryption option choose 'Customer managed CMKs are created and managed by you in AWS Key Management Service (KMS).' based on your business requirement.
7. Review and Create the MQ broker.

To delete reported MQ broker, refer following URL:

For ActiveMQ Broker: <https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/getting-started-activemq.html#delete-broker>

For RabbitMQ Broker: <https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/getting-started-rabbitmq.html#rabbitmq-delete-broker>


---

# 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-mq-broker-is-not-encrypted-by-customer-managed-key-cmk.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.
