π§ AWS WorkSpace instance EBS volumes are not encrypted - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
- π AWS WorkSpace
- π AWS WorkSpace - object.extracts.yaml
- π§ͺ test-data.json
Test Results π’β
Generated at: 2026-01-31T12:02:24.538389207Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | 002 | βοΈ 299 | βοΈ extract('CA10__rootVolumeEncryptionEnabled__c') == false && extract('CA10__userVolumeEncryptionEnabled__c') == false | βοΈ null |
| π’ | 003 | βοΈ 500 | βοΈ otherwise | βοΈ null |
| π’ | 004 | βοΈ 399 | βοΈ extract('CA10__rootVolumeEncryptionEnabled__c') == false | βοΈ null |
| π’ | 005 | βοΈ 499 | βοΈ extract('CA10__userVolumeEncryptionEnabled__c') == false | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/workspaces/workspace-storage-encryption/policy.yaml | 3EE79C07FE0BBEA4E639E61EA81FD1E7 |
| Open | /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml | D8BC2C88270BBA4803C1824FA0C80BF6 |
| Open | /ce/ca/aws/workspaces/workspace-storage-encryption/test-data.json | 2EA437E0545AD2D141F3B1D7B3111347 |
| Open | /types/CA10__CaAwsWorkspace__c/object.extracts.yaml | 653A7214D9FA947DB5A00F602EFFCB5C |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/workspaces/workspace-storage-encryption/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsWorkspace__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsWorkspace__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The WorkSpace is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__state__c"
right:
TEXT: "AVAILABLE"
- status: "INCOMPLIANT"
currentStateMessage: "Both root and user WorkSpace volumes are not encrypted at rest."
remediationMessage: "Enable encryption for the WorkSpace volumes."
check:
AND:
args:
- IS_EQUAL:
left:
EXTRACT: CA10__rootVolumeEncryptionEnabled__c
right:
BOOLEAN: false
- IS_EQUAL:
left:
EXTRACT: CA10__userVolumeEncryptionEnabled__c
right:
BOOLEAN: false
- status: "INCOMPLIANT"
currentStateMessage: "The root WorkSpace volume is not encrypted at rest."
remediationMessage: "Enable encryption for the root volume."
check:
IS_EQUAL:
left:
EXTRACT: CA10__rootVolumeEncryptionEnabled__c
right:
BOOLEAN: false
- status: "INCOMPLIANT"
currentStateMessage: "The user WorkSpace volume is not encrypted at rest."
remediationMessage: "Enable encryption for the user volume."
check:
IS_EQUAL:
left:
EXTRACT: CA10__userVolumeEncryptionEnabled__c
right:
BOOLEAN: false
otherwise:
status: "COMPLIANT"
currentStateMessage: "The WorkSpace EBS volumes are encrypted at rest."