Commit Graph

5 Commits (jdstrand/update-golang-jwt)

Author SHA1 Message Date
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
Sam Arnold 5015297d40
fix: more expressive errors (#22448)
* fix: more expressive errors

Closes #22446

* fix: server only logging for untyped errors

* chore: fix formatting
2021-09-13 15:12:35 -04:00
Daniel Moran 00afd95cb7
refactor: automated move of errors and id from root to kit (#21101)
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Stuart Carnie 7e1226b298 feat: Use AuthorizerV1 for authorizing 1.x API requests
Setup the AuthorizerV1 in the launcher and pass this to the V1
authentication handler for authorizing 1.x HTTP requests.
2020-10-30 11:56:09 -07:00
Stuart Carnie 4330496d91
feat(http): V1 write support
* Basic auth requires using <username:token>; same as Cloud 2
* Move V1 HTTP handlers for InfluxQL and write to legacy package
2020-08-18 14:04:35 -07:00