--- inputType: "CA10__CaAwsCacheCluster__c" testData: - file: "test-data.json" importExtracts: - file: /types/CA10__CaAwsCacheCluster__c/object.extracts.yaml conditions: - status: "INAPPLICABLE" currentStateMessage: "This policy is only applicable to Redis clusters." check: NOT: arg: CONTAINS: arg: SET: itemType: TEXT items: - "redis" - "valkey" search: EXTRACT: "CA10__engine__c" - status: "INCOMPLIANT" currentStateMessage: "Automatic backups are disabled for this Redis cluster." remediationMessage: "Set a snapshot retention period greater than 0 to enable automatic backups." check: IS_EQUAL: left: EXTRACT: "CA10__snapshotRetentionLimit__c" right: NUMBER: 0.0 otherwise: status: "COMPLIANT" currentStateMessage: "Automatic backups are enabled for this Redis cluster."