π§ AWS Kinesis Stream is not encrypted at rest - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2025-11-17T14:33:40.212662678Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 299 | βοΈ extract('CA10__encryptionType__c') == 'NONE' | βοΈ null |
| π’ | test2 | βοΈ 399 | βοΈ extract('CA10__encryptionType__c') == 'KMS' | βοΈ null |
| π’ | test3 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test4 | βοΈ 199 | βοΈ extract('CA10__status__c') != 'ACTIVE' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/kinesis/stream-encryption/policy.yaml | C21C3304AC634A336A3C725204033AA2 |
| Open | /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml | 4E8ECD317DDE9E42C57AA7DE24606277 |
| Open | /ce/ca/aws/kinesis/stream-encryption/test-data.json | A82DBE82FB4C07BFC934453ABA00D4D3 |
| Open | /types/CA10__CaAwsKinesisStream__c/object.extracts.yaml | 6BD9B9908238F7518444067AC2A3E2AC |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/kinesis/stream-encryption/prod.logic.yaml
Contentβ
---
inputType: "CA10__CaAwsKinesisStream__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaAwsKinesisStream__c/object.extracts.yaml"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The Kinesis Stream is not active."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "ACTIVE"
- status: "INCOMPLIANT"
currentStateMessage: "Server-side encryption is not enabled for this Kinesis Stream."
remediationMessage: "Enable server-side encryption for the stream to protect data at rest."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__encryptionType__c"
right:
TEXT: "NONE"
- status: "COMPLIANT"
currentStateMessage: "Server-side encryption is enabled for this Kinesis Stream."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__encryptionType__c"
right:
TEXT: "KMS"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the field."