Check ID:
Provider: AWS
Service:
Severity: LOW
Categories:
Resource type:
mq_broker_logging_enabledProvider: AWS
Service:
mqSeverity: LOW
Categories:
loggingResource type:
AwsAmazonMQBrokerWhat this check verifies
Amazon MQ brokers have logging to CloudWatch Logs enabled per engine type: ActiveMQ requires bothgeneral 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 bothgeneral 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
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/configure-logging-monitoring-activemq.html
- https://docs.aws.amazon.com/securityhub/latest/userguide/mq-controls.html#mq-2
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/aws/MQ/log-exports.html
- https://docs.aws.amazon.com/cli/latest/reference/mq/create-broker.html
- https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/security-logging-monitoring.html
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck 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