--- inputType: "CA10__CaAwsAccount__c" importExtracts: - file: "/types/CA10__CaAwsAccount__c/object.extracts.yaml" testData: - file: test-data.json conditions: - status: "UNDETERMINED" currentStateMessage: "Amazon Inspector status is not available." check: IS_EMPTY: arg: EXTRACT: "CA10__inspectorStatus__c" - status: "INCOMPLIANT" currentStateMessage: "Amazon Inspector is not enabled for this account." remediationMessage: "Enable Amazon Inspector in the AWS console." check: IS_EQUAL: left: EXTRACT: "CA10__inspectorStatus__c" right: TEXT: "Disabled" - status: "UNDETERMINED" currentStateMessage: "Amazon Inspector ECR scanning status is not available." check: IS_EMPTY: arg: EXTRACT: "CA10__inspectorEcrStatus__c" - status: "INCOMPLIANT" currentStateMessage: "Amazon Inspector ECR scanning is disabled." remediationMessage: "Enable ECR scanning in Amazon Inspector." check: IS_EQUAL: left: EXTRACT: "CA10__inspectorEcrStatus__c" right: TEXT: "Disabled" - status: "COMPLIANT" currentStateMessage: "Amazon Inspector ECR scanning is enabled." check: IS_EQUAL: left: EXTRACT: "CA10__inspectorEcrStatus__c" right: TEXT: "Enabled" otherwise: status: "UNDETERMINED" currentStateMessage: "Unexpected values in the fields."