Skip to main content

๐Ÿง  AWS RDS Cluster Encryption is not enabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2025-11-17T14:33:41.843250749Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸขtest1โœ”๏ธ 199โœ”๏ธ extract('CA10__storageEncrypted__c') == trueโœ”๏ธ null
๐ŸŸขtest2โœ”๏ธ 200โœ”๏ธ otherwiseโœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/aws/rds/cluster-encryption/policy.yamlAEBECCB0CE10724B0B5F53BFAA7096C8
Open/ce/ca/aws/rds/cluster-encryption/prod.logic.yaml672CE5E5CB8DFB2AF76A6BDF503A96AA
Open/ce/ca/aws/rds/cluster-encryption/test-data.json543955F6C011435E9B1BBA2D53060B55
Open/types/CA10__CaAwsDbCluster__c/object.extracts.yamlAA33B47137B4F1B016C5B164CD2F02E6

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/aws/rds/cluster-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/cluster-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/cluster-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/cluster-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/cluster-encryption/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: "RDS Cluster storage encryption is enabled."
check:
IS_EQUAL:
left:
EXTRACT: CA10__storageEncrypted__c
right:
BOOLEAN: true
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "RDS Cluster storage encryption is disabled."
remediationMessage: "Enable RDS Cluster storage encryption."