docs: capture exploration — apparatus dissolved into framework
This commit is contained in:
12
.planning/todos/pending/redacting-slog-handler.md
Normal file
12
.planning/todos/pending/redacting-slog-handler.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Framework slog handler that redacts credentials (port RedactCredentialsTap)
|
||||
date: 2026-09-28
|
||||
priority: medium
|
||||
area: summercms.go logging
|
||||
---
|
||||
|
||||
Port `Golem15\Apparatus\Classes\Logging\RedactCredentialsTap` as a framework `slog.Handler` wrapper: redact attribute keys `api_key`, `apikey`, `authorization`, `bearer`, `password`, `secret`, `token`, `webhook_secret`, `admin_password` (case-insensitive, nested groups), and scrub its message regex patterns.
|
||||
|
||||
Also verify whether `surf`'s error path already gives `SafeExceptionResponse` behaviour (generic "Internal server error" outside debug, real message logged); add a small helper only if it does not.
|
||||
|
||||
See `.planning/notes/apparatus-dissolved-into-framework.md`.
|
||||
Reference in New Issue
Block a user