🧠 AWS EBS Attached Volume is not encrypted - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-02-10T22:32:41.038684005Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | test1 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | test2 | ✔️ 199 | ✔️ extract('CA10__status__c') != 'in-use' | ✔️ null |
| 🟢 | test3 | ✔️ 299 | ✔️ not(extract('CA10__encrypted__c')) | ✔️ null |
| 🟢 | test4 | ✔️ 399 | ✔️ extract('CA10__encrypted__c') == true | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/ec2/ebs-volume-encryption/policy.yaml | 3FAA45275092805E4C07D2CA19A95141 |
| Open | /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml | DA5953B18711E0A79CEE9DB07509DA3C |
| Open | /ce/ca/aws/ec2/ebs-volume-encryption/test-data.json | 5D8A8BDAA59D406ED79660015FBC5EED |
| Open | /types/CA10__CaAwsVolume__c/object.extracts.yaml | D98F19A3E57995D503E82126277DD66A |
Available Commands
repo-manager policies generate FULL /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/ec2/ebs-volume-encryption/prod.logic.yaml
Content
inputType: "CA10__CaAwsVolume__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsVolume__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This policy applies only to attached EBS volumes. This volume is not attached."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "in-use"
- status: "INCOMPLIANT"
currentStateMessage: "The attached EBS volume is not encrypted."
remediationMessage: "Enable encryption for the volume."
check:
NOT:
arg:
EXTRACT: "CA10__encrypted__c"
- status: "COMPLIANT"
currentStateMessage: "The attached EBS volume is encrypted."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__encrypted__c"
right:
BOOLEAN: true
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."