--- inputType: "CA10__CaAwsUser__c" testData: - file: test-data.json importExtracts: - file: /types/CA10__CaAwsUser__c/credReport.extracts.yaml conditions: - status: "INAPPLICABLE" currentStateMessage: "The user does not have active access keys." check: AND: args: - IS_EQUAL: left: EXTRACT: CA10__credReportAccessKey1Active__c right: BOOLEAN: false - IS_EQUAL: left: EXTRACT: CA10__credReportAccessKey2Active__c right: BOOLEAN: false - status: "INCOMPLIANT" currentStateMessage: "More than one active access key is available for the IAM user." remediationMessage: "Remove one of the access keys." check: AND: args: - IS_EQUAL: left: EXTRACT: CA10__credReportAccessKey1Active__c right: BOOLEAN: true - IS_EQUAL: left: EXTRACT: CA10__credReportAccessKey2Active__c right: BOOLEAN: true otherwise: status: "COMPLIANT" currentStateMessage: "This IAM user has only one active access key."