Skip to main content

🧠 AWS DynamoDB Table is not encrypted with a KMS key - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:39.518986638Z Open

ResultIdCondition IndexCondition TextRuntime 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​

FileMD5
Open/ce/ca/aws/dynamodb/table-encryption/policy.yaml6C42FDE7B0B4CE6B1344A8B5FCE290A2
Open/ce/ca/aws/dynamodb/table-encryption/prod.logic.yamlA60EE5C88D532DC03531CEAB86881603
Open/ce/ca/aws/dynamodb/table-encryption/test-data.jsonB926EB5147821C2EA4D05BF9AF16133F
Open/types/CA10__CaAwsDynamoDbTable__c/object.extracts.yamlEC959FF9A6572890388AA7C1C47122EF

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​

Open File

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."