brexhq / substation

Substation is a toolkit for routing, normalizing, and enriching security event and audit logs.
https://substation.readme.io
MIT License
330 stars 21 forks source link

build(scripts): Add Bulk Delete from DynamoDB Script #209

Closed jshlbrd closed 4 months ago

jshlbrd commented 4 months ago

Description

Motivation and Context

This is useful when you need to bulk delete items from DynamoDB. The JSONL file should contain entries that match the table's schema, like:

{"PK": "abc", "SK":"foo"}
{"PK": "def", "SK":"bar"}
{"PK": "ghi", "SK":"baz"}

How Has This Been Tested?

Tested against a production DynamoDB table.

Types of changes

Checklist: