--- inputType: CA10__CaAwsDbSnapshot__c importExtracts: - file: "/types/CA10__CaAwsDbSnapshot__c/object.extracts.yaml" testData: - file: "test-data.json" conditions: - status: "INAPPLICABLE" currentStateMessage: "The snapshot is not in the available state." check: NOT_EQUAL: left: EXTRACT: "CA10__status__c" right: TEXT: "available" - status: "INCOMPLIANT" currentStateMessage: "The RDS snapshot is 90 days old or more." remediationMessage: "Delete or archive the snapshot if it is no longer needed." check: IS_BEYOND_LAST_DAYS: offsetDays: 90 arg: EXTRACT: "CA10__snapshotCreateTime__c" otherwise: status: "COMPLIANT" currentStateMessage: "The RDS snapshot is less than 90 days old."