apiserver/pkg/audit
Monis Khan 1873d19869 Allow handlers early in the request chain to set audit annotations
This change adds the generic ability for request handlers that run
before WithAudit to set annotations in the audit.Event.Annotations
map.

Note that this change does not use this capability yet. Determining
which handlers should set audit annotations and what keys and values
should be used requires further discussion (this data will become
part of our public API).

Signed-off-by: Monis Khan <mok@vmware.com>

Kubernetes-commit: 0bc62112adf270ef4efada37286319c229324c7b
2020-03-19 20:02:37 -04:00
..
event Export UserInfo conversion, use authnv1.UserInfo in audit 2019-09-09 08:54:54 -04:00
policy fix: replace TrimLeft with TrimPrefix and TrimRight with TrimSuffix 2019-12-02 21:27:15 +08:00
util Add port to ServiceResolvers 2019-03-01 16:32:50 -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 add some documentation around the metrics stability migration changes for clarity 2019-08-26 19:15:30 -07:00
request.go Allow handlers early in the request chain to set audit annotations 2020-03-19 20:02:37 -04: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