--- 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."