influxdb/http/legacy
davidby-influx 13cf6be49e
feat: Add authenticating ID and user ID to request logging (#24474)
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
2023-11-22 12:28:58 -08:00
..
backend.go chore(query/influxql): remove the influxql transpiler (#23000) 2022-01-31 11:34:37 -05:00
common.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
influx1x_authentication_handler.go feat: Add authenticating ID and user ID to request logging (#24474) 2023-11-22 12:28:58 -08:00
influx1x_authentication_handler_test.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
influxql_handler.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
influxqld_handler.go build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05:00
influxqld_handler_test.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
ping_handle_test.go fix: duplicated X-version and X-Build headers for /ping endpoint (#22862) 2021-11-12 13:32:12 -07:00
ping_handler.go fix: duplicated X-version and X-Build headers for /ping endpoint (#22862) 2021-11-12 13:32:12 -07:00
router.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
write_handler.go fix: forbid reading OSS buckets for a token with only write permissions (#23148) 2022-02-24 09:59:14 -05:00
write_handler_test.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
write_usage_recorder.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00