From b7531fa2a60e8175a2d10d37bff08b9d372dffc7 Mon Sep 17 00:00:00 2001 From: windsonsea Date: Sat, 31 Dec 2022 10:47:01 +0800 Subject: [PATCH] [zh] sync /config-api/apiserver-audit.v1.md --- .../config-api/apiserver-audit.v1.md | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/content/zh-cn/docs/reference/config-api/apiserver-audit.v1.md b/content/zh-cn/docs/reference/config-api/apiserver-audit.v1.md index 920e8e0146..6d2fba5492 100644 --- a/content/zh-cn/docs/reference/config-api/apiserver-audit.v1.md +++ b/content/zh-cn/docs/reference/config-api/apiserver-audit.v1.md @@ -2,9 +2,7 @@ title: kube-apiserver Audit 配置 (v1) content_type: tool-reference package: audit.k8s.io/v1 -auto_generated: true --- - [必需]
-authentication/v1.UserInfo +authentication/v1.UserInfo @@ -114,7 +112,7 @@ Event 结构包含可出现在 API 审计日志中的所有信息。 impersonatedUser
-authentication/v1.UserInfo +authentication/v1.UserInfo @@ -189,7 +187,7 @@ Note: All but the last IP can be arbitrarily set by the client. responseStatus
-meta/v1.Status +meta/v1.Status (可能会采用 JSON 重新编码),之后会进入版本转换、默认值填充、准入控制以及 配置信息合并等阶段。此对象为外部版本化的对象类型,甚至其自身可能并不是一个 合法的对象。对于非资源请求,此字段被忽略。 - 只有当审计级别为 Request 或更高的时候才会记录。 + 只有当审计级别为 Request 或更高的时候才会记录。

- - + + responseObject
k8s.io/apimachinery/pkg/runtime.Unknown @@ -239,7 +237,7 @@ at Response Level.--> requestReceivedTimestamp
-meta/v1.MicroTime +meta/v1.MicroTime @@ -250,7 +248,7 @@ at Response Level.--> stageTimestamp
-meta/v1.MicroTime +meta/v1.MicroTime @@ -285,7 +283,7 @@ at Response Level.--> - + ## `EventList` {#audit-k8s-io-v1-EventList} 列表结构元数据 @@ -319,9 +317,9 @@ EventList 是审计事件(Event)的列表。 - + ## `Policy` {#audit-k8s-io-v1-Policy} - + @@ -345,7 +343,7 @@ Policy 定义的是审计日志的配置以及不同类型请求的日志记录 kind
stringPolicy metadata
-meta/v1.ObjectMeta +meta/v1.ObjectMeta @@ -412,7 +410,7 @@ omitManagedFields 标明将请求和响应主体写入 API 审计日志时,是 - + ## `PolicyList` {#audit-k8s-io-v1-PolicyList} 列表结构元数据。 @@ -446,9 +444,9 @@ PolicyList 是由审计策略(Policy)组成的列表。 - + ## `GroupResources` {#audit-k8s-io-v1-GroupResources} - + @@ -534,7 +532,7 @@ For example: - + ## `Level` {#audit-k8s-io-v1-Level}