Check ID: mq_broker_logging_enabled
Provider: AWS
Service: mq
Severity: LOW
Categories: logging
Resource type: AwsAmazonMQBroker

What this check verifies

Amazon MQ brokers have logging to CloudWatch Logs enabled per engine type: ActiveMQ requires both general and audit logs; RabbitMQ requires general logs.

Risk

Missing broker logs creates blind spots in authentication events, administrative changes, and broker failures. Adversaries can act without detection, enabling unauthorized access and message tampering (confidentiality/integrity) and hindering incident response and root-cause analysis (availability).

Recommendation

Enable centralized CloudWatch Logs for brokers. For ActiveMQ, turn on both general and audit logs; for RabbitMQ, enable general logs. Apply least privilege to log access, set retention, and create alerts for anomalous events to strengthen defense in depth.

Remediation

aws mq update-broker --broker-id <example_resource_id> --logs Audit=true,General=true

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = mq_broker_logging_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks