Skip to main content

🧠 AWS MSK Cluster Client-Broker Encryption is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__encryptionClientBroker__c') == 'PLAINTEXT' || extract('CA10__encryptionClientBroker__c') == 'TLS_PLAINTEXT'βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__encryptionClientBroker__c') == 'TLS'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/msk/cluster-client-broker-encryption/policy.yamlFE89491550CC66EC8EC44089D7FB2FC0
Open/ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml5C02FE10E013E7836A626F5198F393A1
Open/ce/ca/aws/msk/cluster-client-broker-encryption/test-data.json7BD415FDE242088E7D1DEBCD6435B957
Open/types/CA10__CaAwsMskCluster__c/object.extracts.yaml8EFC219AB649690607ABB91220221090

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/msk/cluster-client-broker-encryption/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsMskCluster__c"
importExtracts:
- file: "/types/CA10__CaAwsMskCluster__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The MSK cluster allows unencrypted communication (PLAINTEXT or TLS_PLAINTEXT)."
remediationMessage: "Update the cluster configuration to require TLS for client-broker communication."
check:
OR:
args:
- IS_EQUAL:
left:
EXTRACT: "CA10__encryptionClientBroker__c"
right:
TEXT: "PLAINTEXT"
- IS_EQUAL:
left:
EXTRACT: "CA10__encryptionClientBroker__c"
right:
TEXT: "TLS_PLAINTEXT"
- status: "COMPLIANT"
currentStateMessage: "The MSK cluster enforces TLS encryption for all client-broker connections."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__encryptionClientBroker__c"
right:
TEXT: "TLS"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."