--- inputType: "CA10__CaAwsDbCluster__c" testData: - file: "test-data.json" importExtracts: - file: "/types/CA10__CaAwsDbCluster__c/object.extracts.yaml" conditions: - status: "INAPPLICABLE" currentStateMessage: "The cluster is not available." check: NOT_EQUAL: left: EXTRACT: "CA10__status__c" right: TEXT: "available" - status: "INAPPLICABLE" currentStateMessage: "This policy applies only to Aurora, RDS Multi-AZ MySQL and PostgreSQL, DocumentDB, and Neptune clusters." check: NOT: arg: CONTAINS: arg: SET: itemType: "TEXT" items: - "aurora-postgresql" - "aurora-mysql" - "mysql" - "postgres" - "docdb" - "neptune" search: EXTRACT: "CA10__engine__c" - status: "INCOMPLIANT" currentStateMessage: "The cluster backup retention period is less than 7 days." remediationMessage: "Set the cluster backup retention period to at least 7 days." check: LESS_THAN: left: EXTRACT: "CA10__backupRetentionPeriod__c" right: NUMBER: 7.0 - status: "COMPLIANT" currentStateMessage: "The cluster backup retention period is at least 7 days." check: GREATER_THAN_EQUAL: left: EXTRACT: "CA10__backupRetentionPeriod__c" right: NUMBER: 7.0 otherwise: status: "UNDETERMINED" currentStateMessage: "Unexpected values were found in the cluster status, engine, or backup retention period."