Skip to content

Added test case for dynamodb_tables_kms_cmk_encryption_enabled#310

Open
Ninad-Lunge-Comprinno wants to merge 1 commit intocomprinnotech:testcases_devfrom
Ninad-Lunge-Comprinno:test_dynamodb_tables_kms_cmk_encryption_enabled
Open

Added test case for dynamodb_tables_kms_cmk_encryption_enabled#310
Ninad-Lunge-Comprinno wants to merge 1 commit intocomprinnotech:testcases_devfrom
Ninad-Lunge-Comprinno:test_dynamodb_tables_kms_cmk_encryption_enabled

Conversation

@Ninad-Lunge-Comprinno
Copy link

Context

Wrote test cases for the check dynamodb_tables_kms_cmk_encryption_enabled to validate various encryption scenarios in DynamoDB tables.

Description

  • Added test coverage for the following scenarios:

    • No DynamoDB tables present
    • Tables encrypted with a customer-managed KMS key (CMK)
    • Tables encrypted with AWS-managed KMS keys
    • Tables using DynamoDB-owned keys (no SSEDescription)
    • ClientError during listing of tables
    • AccessDenied error while describing a table
  • Created a dummy session to mock boto3 clients and attached stubbers for dynamodb and kms.

No additional dependencies are required.

Checklist

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant