--- inputType: "CA10__CaAwsBeanstalkEnvironment__c" testData: - file: "test-data.json" importExtracts: - file: "/types/CA10__CaAwsBeanstalkEnvironment__c/object.extracts.yaml" conditions: - status: "INAPPLICABLE" currentStateMessage: "The Elastic Beanstalk environment is not in the Ready state." check: NOT_EQUAL: left: EXTRACT: "CA10__status__c" right: TEXT: "Ready" - status: "INCOMPLIANT" currentStateMessage: "Managed platform updates are not enabled for this Elastic Beanstalk environment." remediationMessage: "Enable platform updates for the environment." check: RELATED_LIST_HAS: status: "INCOMPLIANT" relationshipName: "CA10__AWS_Beanstalk_Configuration_Settings__r" - status: "COMPLIANT" currentStateMessage: "Managed platform updates are enabled for this Elastic Beanstalk environment." check: RELATED_LIST_HAS: status: "COMPLIANT" relationshipName: "CA10__AWS_Beanstalk_Configuration_Settings__r" otherwise: status: "UNDETERMINED" currentStateMessage: "Unable to determine platform updates configuration for this Elastic Beanstalk environment." relatedLists: - relationshipName: "CA10__AWS_Beanstalk_Configuration_Settings__r" importExtracts: - file: "/types/CA10__CaAwsBeanstalkConfigurationSettings__c/object.extracts.yaml" recordTypes: - "caEnvironmentConfigurationSettings" conditions: - status: "COMPLIANT" currentStateMessage: "Elastic Beanstalk environment platform updates are enabled." check: CONTAINS: arg: EXTRACT: "caSetFrom_optionSettings__c" search: TEXT: "aws:elasticbeanstalk:managedactions ManagedActionsEnabled true" otherwise: status: "INCOMPLIANT" currentStateMessage: "Elastic Beanstalk environment platform updates are not enabled."