Skip to main content

๐Ÿง  AWS RDS Instance automated backups are not enabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2025-10-25T12:01:58.609867127Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขtest1โœ”๏ธ 99โœ”๏ธ isDisappeared(CA10__disappearanceTime__c)โœ”๏ธ null
๐ŸŸขtest2โœ”๏ธ 199โœ”๏ธ 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.yaml79F27782DFE1BE7A9391431599C03E6C
Open/ce/ca/aws/rds/instance-automated-backups/test-data.json1448C4D27357DA7488617485E08D1536
Open/types/CA10__CaAwsDbInstance__c/object.extracts.yaml26DCC1C39C347B18BF7B5A1C5DBD9419

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: "The DB Instance automated backups are disabled."
remediationMessage: "Enable automated backups by setting the backup retention\
\ period to a value greater than 0 days."
check:
IS_EQUAL:
left:
FIELD:
path: CA10__backupRetentionPeriod__c
right:
NUMBER: 0.0
otherwise:
status: COMPLIANT
currentStateMessage: "The DB Instance automated backups are enabled."