Skip to main content

🧠 AWS RDS Cluster Deletion Protection is not enabled - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-01-31T12:02:10.849507456Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ CA10__deletionProtection__c == false✔️ null
🟢test3✔️ 299✔️ CA10__deletionProtection__c == true✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/cluster-deletion-protection/policy.yaml065D5D56A91D0F55F1B807D110A5A1D7
Open/ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yamlF88FE96D15567CD5332DCCF493A35A52
Open/ce/ca/aws/rds/cluster-deletion-protection/test-data.jsonEE8D0EAC6BE1FB614D61E2A59C045D8D
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yamlD2C2C5F972AEC114F6BD57EB74FA57CB

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml

Content

Open File

---
inputType: "CA10__CaAwsDbCluster__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsDbCluster__c/object.extracts.yaml
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The Cluster Deletion Protection is disabled."
remediationMessage: "Enable deletion protection in the cluster configuration settings."
check:
IS_EQUAL:
left:
FIELD:
path: "CA10__deletionProtection__c"
right:
BOOLEAN: false
- status: "COMPLIANT"
currentStateMessage: "The Cluster Deletion Protection is enabled."
check:
IS_EQUAL:
left:
FIELD:
path: "CA10__deletionProtection__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."