🧠 AWS RDS Cluster Deletion Protection is not enabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-01-31T12:02:10.849507456Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test1 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | test2 | ✔️ 199 | ✔️ CA10__deletionProtection__c == false | ✔️ null |
| 🟢 | test3 | ✔️ 299 | ✔️ CA10__deletionProtection__c == true | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/cluster-deletion-protection/policy.yaml | 065D5D56A91D0F55F1B807D110A5A1D7 |
| Open | /ce/ca/aws/rds/cluster-deletion-protection/prod.logic.yaml | F88FE96D15567CD5332DCCF493A35A52 |
| Open | /ce/ca/aws/rds/cluster-deletion-protection/test-data.json | EE8D0EAC6BE1FB614D61E2A59C045D8D |
| Open | /types/CA10__CaAwsDbCluster__c/object.extracts.yaml | D2C2C5F972AEC114F6BD57EB74FA57CB |
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
---
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."