Skip to main content

🧠 AWS MQ Broker is publicly accessible - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-01-31T12:02:07.067639771Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 199βœ”οΈ extract('CA10__publiclyAccessible__c') == trueβœ”οΈ null
🟒002βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/mq/broker-public-access/policy.yaml33253209054F79C56FEC3B3A5E310129
Open/ce/ca/aws/mq/broker-public-access/prod.logic.yaml3DC576EF3778BB68642873EE0C9D1501
Open/ce/ca/aws/mq/broker-public-access/test-data.json6870D4536C51769CFF975456E13EAD8F
Open/types/CA10__CaAwsMqBroker__c/object.extracts.yaml1D91E5184493B4B1AF50FC5A1E53B744

Available Commands​

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

Content​

Open File

---
inputType: "CA10__CaAwsMqBroker__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsMqBroker__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The broker is not configured to block public access."
remediationMessage: "Consider configuring the broker to block public access."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__publiclyAccessible__c"
right:
BOOLEAN: true
otherwise:
status: "COMPLIANT"
currentStateMessage: "The broker is configured to block public access."