Skip to main content

🧠 AWS MQ ActiveMQ Broker Audit Logging is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-01-17T12:02:54.252310797Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__engineType__c') != 'ACTIVEMQ'βœ”οΈ null
🟒test3βœ”οΈ 399βœ”οΈ extract('CA10__logsAudit__c') == 'Disabled'βœ”οΈ null
🟒test4βœ”οΈ 499βœ”οΈ extract('CA10__logsAudit__c') == 'Enabled'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/mq/broker-logging/policy.yaml03938E5300A08F546D128DABA709BBBF
Open/ce/ca/aws/mq/broker-logging/prod.logic.yaml1B01D352D73F02B6A963A892C348A4D2
Open/ce/ca/aws/mq/broker-logging/test-data.json6A079605CC2183F1238C0A8CFF6B736A
Open/types/CA10__CaAwsMqBroker__c/object.extracts.yamlAF2B0A499B3C495C37E9FEF397E9DF46

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/mq/broker-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/mq/broker-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/mq/broker-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/mq/broker-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/mq/broker-logging/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsMqBroker__c"
importExtracts:
- file: "/types/CA10__CaAwsMqBroker__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "Audit logging is only supported for ActiveMQ brokers."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__engineType__c"
right:
TEXT: "ACTIVEMQ"
- status: "UNDETERMINED"
currentStateMessage: "Unable to determine audit logging status for this ActiveMQ broker."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10__logsAudit__c"
- status: "INCOMPLIANT"
currentStateMessage: "Audit logging is disabled for this ActiveMQ broker."
remediationMessage: "Enable audit logging in the broker's log configuration settings."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__logsAudit__c"
right:
TEXT: "Disabled"
- status: "COMPLIANT"
currentStateMessage: "Audit logging is enabled for the MQ broker."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__logsAudit__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."