influxdb/context
davidby-influx 6159c85f19
feat: Add authenticating ID and user ID to request logging (#24474) (#24479)
To allow rudimentary security auditing of logs,
add the authenticating ID and the user ID when
possible to the request logs. When a request is
authorized for V1 or V2 API, store the authorizer
object to be used by the logger up the call stack.

closes https://github.com/influxdata/influxdb/issues/24473

(cherry picked from commit 13cf6be49e)

closes https://github.com/influxdata/influxdb/issues/24475
2023-11-22 14:24:56 -08:00
..
token.go feat: Add authenticating ID and user ID to request logging (#24474) (#24479) 2023-11-22 14:24:56 -08:00
token_test.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00