mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
Merge pull request #45884 from CaoShuFeng/internal-audit-api
Automatic merge from submit-queue (batch tested with PRs 45884, 45879, 45912, 45444, 45874) Fix docs for advanced audit This change updates docs from this pr: #45862 **Release note**: ``` NONE ```
This commit is contained in:
@@ -48,7 +48,6 @@ type Event struct {
|
||||
// Time the request reached the apiserver.
|
||||
Timestamp metav1.Time
|
||||
// Unique audit ID, generated for each request.
|
||||
// +optional
|
||||
AuditID types.UID
|
||||
// RequestURI is the request URI as sent by the client to a server.
|
||||
RequestURI string
|
||||
@@ -116,8 +115,8 @@ type PolicyRule struct {
|
||||
// An empty list implies every user.
|
||||
// +optional
|
||||
Users []string
|
||||
// The user groups this rule applies to. If a user is considered matching
|
||||
// if the are a member of any of these groups
|
||||
// The user groups this rule applies to. A user is considered matching
|
||||
// if it is a member of any of the UserGroups.
|
||||
// An empty list implies every user group.
|
||||
// +optional
|
||||
UserGroups []string
|
||||
|
Reference in New Issue
Block a user