Skip to main content

🧠 AWS RDS Cluster database logging is not enabled - prod.logic.yaml🟢

Uses

Test Results 🟢

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

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ extract('CA10__enabledCloudwatchLogsExports__c').isNotEmpty()✔️ null
🟢test3✔️ 200✔️ otherwise✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/cluster-cloudwatch-logs-export/policy.yaml550AE5972777EB69C85F4458B83CCA32
Open/ce/ca/aws/rds/cluster-cloudwatch-logs-export/prod.logic.yaml8B39A9FEA4EB55B03252EDE96F96B3BE
Open/ce/ca/aws/rds/cluster-cloudwatch-logs-export/test-data.json0FE81297F1C26E0F9B4F04B178184567
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yamlD2C2C5F972AEC114F6BD57EB74FA57CB

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/cluster-cloudwatch-logs-export/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/cluster-cloudwatch-logs-export/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/cluster-cloudwatch-logs-export/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/cluster-cloudwatch-logs-export/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/cluster-cloudwatch-logs-export/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: "COMPLIANT"
currentStateMessage: "The RDS Cluster is configured to publish logs to CloudWatch."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10__enabledCloudwatchLogsExports__c"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The RDS Cluster is not configured to publish logs to CloudWatch."
remediationMessage: "Modify the RDS Cluster to enable CloudWatch logs."