Commit a76a17f
committed
feat(data-masking): add data masking utility
Add new @aws-lambda-powertools/data-masking package with support for:
- Irreversible field erasure with default or custom masking rules
- Field-level and full-payload encryption/decryption via AWS Encryption SDK
- Encryption context for integrity and authenticity
- Dot notation and [*] wildcard field selection
- Prototype pollution protection
Includes unit tests with property-based testing (fast-check),
e2e test scaffolding, and user-facing documentation.1 parent 705dfae commit a76a17f
23 files changed
Lines changed: 2365 additions & 4 deletions
File tree
- docs/features
- packages/data-masking
- src
- provider
- tests
- e2e
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments