--- inputType: "CA10Z1__CaAzureSavingsPlan__c" testData: - file: "test-data.json" importExtracts: - file: "/types/CA10Z1__CaAzureSavingsPlan__c/object.extracts.yaml" conditions: - status: "UNDETERMINED" currentStateMessage: "Provisioning state or expiry date is unavailable." check: OR: args: - IS_EMPTY: arg: EXTRACT: "CA10Z1__provisioningState__c" - IS_EMPTY: arg: EXTRACT: "CA10Z1__expiryDateTime__c" - status: "INAPPLICABLE" currentStateMessage: "The Savings Plan is not successfully provisioned." check: NOT_EQUAL: left: EXTRACT: "CA10Z1__provisioningState__c" right: TEXT: "Succeeded" - status: "INCOMPLIANT" currentStateMessage: "The Savings Plan expired in the last 30 days." remediationMessage: "Review whether replacement Savings Plan coverage is needed." check: AND: args: - IS_BEFORE_TODAY: arg: EXTRACT: "CA10Z1__expiryDateTime__c" - IS_WITHIN_LAST_DAYS: offsetDays: 30 arg: EXTRACT: "CA10Z1__expiryDateTime__c" otherwise: status: "COMPLIANT" currentStateMessage: "The Savings Plan did not expire in the last 30 days."