Skip to content

Commit

Permalink
Update audit.md (kubernetes#46655)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mallardduck authored Oct 22, 2024
1 parent 0904bf6 commit ae15372
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/tasks/debug/debug-cluster/audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

- `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.
- `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.
- `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.

You can pass a file with the policy to `kube-apiserver`
Expand Down

0 comments on commit ae15372

Please sign in to comment.