Update audit.md (#46655)

* Update audit.md

Adjust phrasing of the metadata audit level description to provide consistency of terms between levels. Previously the metadata level was the only one referencing "request metadata" rather than "event metadata".

* Adjust wording per feedback thread
pull/48493/head^2
Dan P. 2024-10-22 03:28:52 -04:00 committed by GitHub
parent 0904bf6f19
commit ae153723dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -66,11 +66,11 @@ compared against the list of rules in order. The first matching rule sets the
_audit level_ of the event. The defined audit levels are: _audit level_ of the event. The defined audit levels are:
- `None` - don't log events that match this rule. - `None` - don't log events that match this rule.
- `Metadata` - log request metadata (requesting user, timestamp, resource, - `Metadata` - log events with metadata (requesting user, timestamp, resource,
verb, etc.) but not request or response body. verb, etc.) but not request or response body.
- `Request` - log event metadata and request body but not response body. - `Request` - log events with request metadata and body but not response body.
This does not apply for non-resource requests. This does not apply for non-resource requests.
- `RequestResponse` - log event metadata, request and response bodies. - `RequestResponse` - log events with request metadata, request body and response body.
This does not apply for non-resource requests. This does not apply for non-resource requests.
You can pass a file with the policy to `kube-apiserver` You can pass a file with the policy to `kube-apiserver`