π§ AWS DynamoDB Table is not encrypted with a KMS key - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2025-11-17T14:33:26.142012829Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 299 | βοΈ extract('CA10__sseDescriptionStatus__c') != 'ENABLED' | βοΈ null |
| π’ | test2 | βοΈ 300 | βοΈ otherwise | βοΈ null |
| π’ | test3 | βοΈ 99 | βοΈ isDisappeared(CA10__disappearanceTime__c) | βοΈ null |
| π’ | test4 | βοΈ 199 | βοΈ extract('CA10__tableStatus__c') != 'ACTIVE' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/dynamodb/table-encryption/policy.yaml | 6C42FDE7B0B4CE6B1344A8B5FCE290A2 |
| Open | /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml | 098F49CD063614285AC08CDE2E1A7B52 |
| Open | /ce/ca/aws/dynamodb/table-encryption/test-data.json | B926EB5147821C2EA4D05BF9AF16133F |
| Open | /types/CA10__CaAwsDynamoDbTable__c/object.extracts.yaml | 164845CE3A8FFD533094F6278211D8F1 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/dynamodb/table-encryption/prod.logic.yaml
Contentβ
inputType: "CA10__CaAwsDynamoDbTable__c"
testData:
- file: "test-data.json"
importExtracts:
- file: /types/CA10__CaAwsDynamoDbTable__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The table is not active."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__tableStatus__c"
right:
TEXT: "ACTIVE"
- status: "INCOMPLIANT"
currentStateMessage: "The DynamoDB Table is not encrypted."
remediationMessage: "Enable server-side encryption for this DynamoDB table to protect data at rest."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__sseDescriptionStatus__c"
right:
TEXT: "ENABLED"
otherwise:
status: "COMPLIANT"
currentStateMessage: "The DynamoDB table is encrypted at rest."