Skip to content

docs: plan redact-token-logs - #231

Merged
ArthurBernard merged 1 commit into
developfrom
docs/plan-redact-token-logs
Aug 2, 2026
Merged

docs: plan redact-token-logs#231
ArthurBernard merged 1 commit into
developfrom
docs/plan-redact-token-logs

Conversation

@ArthurBernard

Copy link
Copy Markdown
Owner

Summary

Plan tree (single leaf — trivial task) for redacting secret query values from the uvicorn access log, plus the roadmap line it expands.

Uvicorn's access log writes request URLs verbatim, so the documented ?token= script auth leaks the dashboard token into journald (observed during the 2026-08-02 systemd deploy; token rotated). The fix reuses the transport-layer scrubber (_redact_url, key set token/signature/api_key/nonce, marker <redacted>) via a logger-level filter installed at the three uvicorn launch sites.

Leaf checklist

  • 01 access-log-redaction — fix/access-log-token-redaction — medium

@ArthurBernard
ArthurBernard merged commit e9d3fa2 into develop Aug 2, 2026
3 checks passed
@ArthurBernard
ArthurBernard deleted the docs/plan-redact-token-logs branch August 2, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant