Commit 6d43230
authored
fix(security): do not log merged repo settings dict (may contain secrets) (#2505)
apply_repo_settings() logged the full merged Dynaconf dict at INFO, which
can include secrets from a repo/global .pr_agent.toml (e.g. openai.key,
gitlab.personal_access_token), leaking them into CI/server logs. Log only
the merged section names, matching the extra-config path in the same file.1 parent 3ee267c commit 6d43230
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
345 | 351 | | |
346 | 352 | | |
347 | 353 | | |
| |||
0 commit comments