Skip to main content

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

Uses​

Test Results πŸŸ’β€‹

Generated at: 2025-11-17T14:33:26.142012829Z 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.yaml098F49CD063614285AC08CDE2E1A7B52
Open/ce/ca/aws/dynamodb/table-encryption/test-data.jsonB926EB5147821C2EA4D05BF9AF16133F
Open/types/CA10__CaAwsDynamoDbTable__c/object.extracts.yaml164845CE3A8FFD533094F6278211D8F1

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