Keep the entrypoint UUID out of webhooker's own logs (closes #531)
check / check (push) Canceled after 0s

On the receiver route the access log and the per-entrypoint 429 line
name the route pattern whatever the status. The received line names
the entrypoint and webhook IDs, and the unknown-entrypoint line logs
no path. The pattern is middleware.ReceiverRoute, which routes.go
registers the receiver with.

The README says the proxy's access log holds the UUID and must be
protected like the URL, and its access-log, rate-limit, Sentry and
log-size passages now match the code.

Model: opus-5-5
This commit is contained in:
2026-10-15 08:19:10 +00:00
parent 573f7f986a
commit e2b64c0a66
10 changed files with 265 additions and 161 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ const unmatchedMethod = unmatchedRoute
// after /h/ is client-chosen, so labelling by path lets any
// unauthenticated client mint permanent series at will, and publishes
// the entrypoint UUID (the receiver's only credential) in the scrape
// while doing it.
// while doing it. The access log and the 429 line read it for the
// same reason: see ReceiverRoute.
//
// chi populates the route context during routeHTTP, so this is only
// valid once routing has run. Every caller below is on the recording