Skip to main content

🧠 AWS RDS Cluster Event Subscription for critical events is not configured - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-06-06T12:03:13.037081164Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢001✔️ 199✔️ CA10__AWS_RDS_Event_Subscriptions__r.has(COMPLIANT)✔️ null
🟢002✔️ 200✔️ otherwise✔️ null
🟢003✔️ 200✔️ otherwise✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/cluster-event-subscription/policy.yaml2F5430389DD49F2FE350FD12034A8BB4
Open/ce/ca/aws/rds/cluster-event-subscription/prod.logic.yaml130C0271B19F695CC7FDFE6EADFD587A
Open/ce/ca/aws/rds/cluster-event-subscription/test-data.json1B3F7C3B33C5B7509BC845523C289325
Open/types/CA10__CaAwsDbEventSubscription__c/object.extracts.yamlCFB79FB71BF9EF5147DA4CFCE1DE4747

Available Commands

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

Content

Open File

---
inputType: "CA10__CaAwsAccount__c"
testData:
- file: test-data.json
conditions:
- status: "COMPLIANT"
currentStateMessage: "The RDS event subscription for critical cluster events is configured."
check:
RELATED_LIST_HAS:
relationshipName: "CA10__AWS_RDS_Event_Subscriptions__r"
status: "COMPLIANT"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The RDS event subscription is not configured for critical cluster events."
remediationMessage: "Configure an event subscription for critical cluster events."
relatedLists:
- relationshipName: "CA10__AWS_RDS_Event_Subscriptions__r"
importExtracts:
- file: /types/CA10__CaAwsDbEventSubscription__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This is not an active cluster event subscription."
check:
NOT:
arg:
AND:
args:
- IS_EQUAL:
left:
EXTRACT: "CA10__enabled__c"
right:
BOOLEAN: true
- IS_EQUAL:
left:
EXTRACT: "CA10__sourceType__c"
right:
TEXT: 'db-cluster'
- status: "COMPLIANT"
currentStateMessage: "This is an event subscription for critical cluster events."
check:
CONTAINS_ALL:
arg:
EXTRACT: "CA10__eventCategories__c"
search:
LIST:
itemType: TEXT
items: ["maintenance", "failure"]
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "This is an event subscription for non-critical cluster events."