๐ง AWS RDS Cluster Encryption is not enabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/aws/rds/cluster-encryption/prod.logic.yaml - Tags:
- ๐ข Logic test success
- ๐ข Logic with extracts
- ๐ข Logic with test data
Usesโ
- ๐ AWS RDS Cluster
- ๐ AWS RDS Cluster - object.extracts.yaml
- ๐งช test-data.json
Test Results ๐ขโ
Generated at: 2025-11-17T14:33:41.843250749Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | test1 | โ๏ธ 199 | โ๏ธ extract('CA10__storageEncrypted__c') == true | โ๏ธ null |
| ๐ข | test2 | โ๏ธ 200 | โ๏ธ otherwise | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/cluster-encryption/policy.yaml | AEBECCB0CE10724B0B5F53BFAA7096C8 |
| Open | /ce/ca/aws/rds/cluster-encryption/prod.logic.yaml | 672CE5E5CB8DFB2AF76A6BDF503A96AA |
| Open | /ce/ca/aws/rds/cluster-encryption/test-data.json | 543955F6C011435E9B1BBA2D53060B55 |
| Open | /types/CA10__CaAwsDbCluster__c/object.extracts.yaml | AA33B47137B4F1B016C5B164CD2F02E6 |
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โ
---
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."