apiserver/pkg/audit
Abu Kashem f1a76db888 apiserver: manage audit ID associated with a request
Manage the audit ID early in the request handling logic so that it can
be used by different layers to improve correlation.
- If the caller does not specify a value for Audit-ID in the request
  header, we generate a new audit ID
- If a user specified Audit-ID is too large, we truncate it
- We echo the Audit-ID value to the caller via the response
  Header 'Audit-ID'

Kubernetes-commit: 31653bacb9b979ee2f878ebece7e25f79d3f9aa6
2021-03-02 19:22:39 -05:00
..
event Export UserInfo conversion, use authnv1.UserInfo in audit 2019-09-09 08:54:54 -04:00
policy deprecate audit.k8s.io/v1[alpha|beta]1 versions 2021-02-08 11:22:29 +08:00
OWNERS Updated OWNERS files to include link to docs 2019-01-30 20:05:00 +01:00
context.go Allow handlers early in the request chain to set audit annotations 2020-03-19 20:02:37 -04:00
format.go support micro time for advanced audit 2017-09-25 11:56:30 +08:00
metrics.go Fix ALPHA stability level reference link 2021-01-31 15:37:07 -08:00
request.go apiserver: manage audit ID associated with a request 2021-03-02 19:22:39 -05:00
request_test.go limit User-Agent max length 1024 and add ...TRUNCATED suffix 2018-06-20 11:15:09 +08:00
scheme.go Audit test utils fix (#74276) 2019-02-22 01:19:51 -07:00
types.go Add String method to audit.Backend interface 2018-07-18 17:35:08 +08:00
union.go Add option to k8s apiserver to reject incoming requests upon audit failure 2018-07-03 14:40:55 +02:00
union_test.go Add String method to audit.Backend interface 2018-07-18 17:35:08 +08:00