--- inputType: "CA10__CaAwsInstance__c" testData: - file: test-data.json importExtracts: - file: /types/CA10__CaAwsInstance__c/object.extracts.yaml conditions: - status: "COMPLIANT" currentStateMessage: "The instance has an IAM role attached through its instance profile." check: NOT_EMPTY: arg: FIELD: path: "CA10A1__iamInstanceProfile__r.CA10A1__roleArn__c" otherwise: status: "INCOMPLIANT" currentStateMessage: "The instance does not have an IAM role attached." remediationMessage: "Attach an IAM role to the instance."