π§ AWS Connect Instance flow logs are not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:37.634829254Z Open
| Result | Id | Condition Index | Condition Text | Runtime 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β
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/connect/instance-flow-logs/policy.yaml | 7382D2BEEACCBC289BAD2B4EA21100CE |
| Open | /ce/ca/aws/connect/instance-flow-logs/prod.logic.yaml | 33857D1FCC5D608277B862F9243863D4 |
| Open | /ce/ca/aws/connect/instance-flow-logs/test-data.json | EDA012464227946E62C455AADE2C3876 |
| Open | /types/CA10A1__CaAwsConnectInstance__c/object.extracts.yaml | CE48A6A20DE05CD58C2DEF57B854CECE |
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β
---
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."