Commit 205a23d
committed
examples: assemble the DB connection URL in the redaction corpus from fragments
The internal security scan flagged the postgres connection string in the
redaction corpus as a database credential leak. Build the URL from
fragments so no contiguous connection URL with inline credentials appears
as a literal; the assembled runtime value is unchanged, so the redactor
is still tested on a real connection string.
Updates #92
RELEASE NOTES: NONE1 parent 8eb8802 commit 205a23d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
317 | 321 | | |
318 | 322 | | |
319 | 323 | | |
| |||
332 | 336 | | |
333 | 337 | | |
334 | 338 | | |
335 | | - | |
| 339 | + | |
336 | 340 | | |
337 | 341 | | |
338 | 342 | | |
| |||
0 commit comments