airbnb / airbnb/binaryalert

Support customer managed KMS keys for dynamo DB

Open
#168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.5k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

## Background

Currently the dynamoDB is encrypted using AWS managed keys. The `aws_dynamodb_table` resource permits use of encrypting this resource with a customer managed key as documented below.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table#server_side_encryption

## Desired Change

Add new Terraform variable `dynamodb_kms_key_arn` (default value `null`) to allow the user to pass in a CMK key to `aws_dynamodb_table.binaryalert_yara_matches`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Terraform definition of aws_dynamodb_table.binaryalert_yara_matches and the variable declarations for this deployment. Trace how existing variables reach the resource, then verify that the new optional KMS ARN is accepted and applied through a Terraform plan without changing the default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, terraform
Domain
cloud, database, security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.