Commit 463fb0c
committed
feat(redaction): Add name field to redaction logic and corresponding tests
- Updated the redaction function to include the "name" field in the list of sensitive keys, ensuring it is redacted from JSON bodies.
- Added a new test case to verify that the "name" field is properly redacted, along with the email field, confirming the expected output format.1 parent f2d1e9e commit 463fb0c
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1289 | 1299 | | |
0 commit comments