Skip to main content

🧠 AWS Connect Instance flow logs are not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:37.634829254Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10A1__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('caSetFrom__attributes__c').contains('CONTACTFLOW_LOGS - false')βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('caSetFrom__attributes__c').contains('CONTACTFLOW_LOGS - true')βœ”οΈ null
🟒test4βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/connect/instance-flow-logs/policy.yaml7382D2BEEACCBC289BAD2B4EA21100CE
Open/ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml33857D1FCC5D608277B862F9243863D4
Open/ce/ca/aws/connect/instance-flow-logs/test-data.jsonEDA012464227946E62C455AADE2C3876
Open/types/CA10A1__CaAwsConnectInstance__c/object.extracts.yamlCE48A6A20DE05CD58C2DEF57B854CECE

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml

Content​

Open File

---
inputType: "CA10A1__CaAwsConnectInstance__c"
importExtracts:
- file: /types/CA10A1__CaAwsConnectInstance__c/object.extracts.yaml
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Connect instance flow logs are not enabled."
remediationMessage: "Enable CloudWatch logging for the Connect instance to capture contact flow logs."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom__attributes__c"
search:
TEXT: "CONTACTFLOW_LOGS - false"
- status: "COMPLIANT"
currentStateMessage: "Connect instance flow logs are enabled."
check:
CONTAINS:
arg:
EXTRACT: "caSetFrom__attributes__c"
search:
TEXT: "CONTACTFLOW_LOGS - true"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unable to determine the Connect instance flow logs status."