🧠 AWS RDS Snapshot is not encrypted - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-02-10T22:33:13.773200047Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test1 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | test2 | ✔️ 299 | ✔️ not(extract('CA10__encrypted__c')) | ✔️ null |
| 🟢 | test3 | ✔️ 300 | ✔️ otherwise | ✔️ null |
| 🟢 | test4 | ✔️ 199 | ✔️ extract('CA10__status__c') != 'available' | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/snapshot-encryption/policy.yaml | C77C26A4DB713E828A54FE1E8B3683F1 |
| Open | /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml | FF2236485637BE615645287A04CAF52A |
| Open | /ce/ca/aws/rds/snapshot-encryption/test-data.json | B2BF9AB8C44BA8E9B1580284CC74FFCB |
| Open | /types/CA10__CaAwsDbSnapshot__c/object.extracts.yaml | 76C7D71A88222DC213DE94D7293929A3 |
Available Commands
repo-manager policies generate FULL /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/snapshot-encryption/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsDbSnapshot__c"
importExtracts:
- file: "/types/CA10__CaAwsDbSnapshot__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The snapshot is not in the available status."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INAPPLICABLE"
currentStateMessage: "The RDS snapshot is not encrypted."
remediationMessage: "Create an encrypted copy of the snapshot and delete the original."
check:
NOT:
arg:
EXTRACT: "CA10__encrypted__c"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The snapshot is encrypted."