apiserver/pkg/audit
Cao Shufeng 4905dd9b0c Provide a way to omit Event stages in audit policy
Updates https://github.com/kubernetes/kubernetes/issues/48561
This provide a way to omit some stages for each audit policy rule.

For example:
  apiVersion: audit.k8s.io/v1beta1
  kind: Policy
  - level: Metadata
    resources:
       - group: "rbac.authorization.k8s.io"
         resources: ["roles"]
    omitStages:
      - "RequestReceived"

RequestReceived stage will not be emitted to audit backends with
previous config.

Kubernetes-commit: 47ba91450fbe7d9002bfc9d4a48a73256252821f
2017-09-04 14:03:48 +00:00
..
policy Provide a way to omit Event stages in audit policy 2017-09-04 14:03:48 +00:00
BUILD audit real impersonated user info 2017-09-03 14:04:13 +00:00
format.go Remove extra empty lines from log 2017-06-13 20:47:33 +00:00
metrics.go s/count/total/ in audit prometheus metrics 2017-06-28 00:14:32 +00:00
request.go audit real impersonated user info 2017-09-03 14:04:13 +00:00
scheme.go upgrade advanced audit to v1beta1 2017-08-29 13:16:13 +00:00
types.go Implement batching audit webhook graceful shutdown 2017-08-29 13:16:12 +00:00
union.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-29 13:16:11 +00:00
union_test.go Implement batching audit webhook graceful shutdown 2017-08-29 13:16:12 +00:00