Skip to main content

🧠 AWS RDS Instance automated backups are not enabled - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-02-10T22:33:09.985116767Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ extract('CA10__backupRetentionPeriod__c') == number(0.0)✔️ null
🟢test3✔️ 200✔️ otherwise✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/instance-automated-backups/policy.yaml5A202E092D23DCB72783BA1452D0C5A3
Open/ce/ca/aws/rds/instance-automated-backups/prod.logic.yamlD5C5AC7A760B8D6A8C016A9F3ED0C1D9
Open/ce/ca/aws/rds/instance-automated-backups/test-data.json926C5F0CDC2A2FB666ED84FF0BBE842B
Open/types/CA10__CaAwsDbInstance__c/object.extracts.yamlE3FA5A211AA9AD2418645BB09047D3D3

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/instance-automated-backups/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/instance-automated-backups/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/instance-automated-backups/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/instance-automated-backups/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/instance-automated-backups/prod.logic.yaml

Content

Open File

---
inputType: "CA10__CaAwsDbInstance__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsDbInstance__c/object.extracts.yaml
conditions:
- status: INCOMPLIANT
currentStateMessage: "Automated backups are disabled for this DB instance."
remediationMessage: "Set the backup retention period to a value greater than 0 days to enable automated backups."
check:
IS_EQUAL:
left:
EXTRACT: CA10__backupRetentionPeriod__c
right:
NUMBER: 0.0
otherwise:
status: COMPLIANT
currentStateMessage: "Automated backups are enabled for this DB instance."