From ae153723dd5a31ba15e40fd211b24b991d0abfb5 Mon Sep 17 00:00:00 2001 From: "Dan P." Date: Tue, 22 Oct 2024 03:28:52 -0400 Subject: [PATCH] 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 --- content/en/docs/tasks/debug/debug-cluster/audit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/debug/debug-cluster/audit.md b/content/en/docs/tasks/debug/debug-cluster/audit.md index f0c6d9dbab09e..fb446ca04adf4 100644 --- a/content/en/docs/tasks/debug/debug-cluster/audit.md +++ b/content/en/docs/tasks/debug/debug-cluster/audit.md @@ -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`