mirror of https://github.com/k3s-io/k3s
Fix docs for advanced audit
parent
8f81307bd0
commit
22ba5eb075
|
@ -48,7 +48,6 @@ type Event struct {
|
||||||
// Time the request reached the apiserver.
|
// Time the request reached the apiserver.
|
||||||
Timestamp metav1.Time
|
Timestamp metav1.Time
|
||||||
// Unique audit ID, generated for each request.
|
// Unique audit ID, generated for each request.
|
||||||
// +optional
|
|
||||||
AuditID types.UID
|
AuditID types.UID
|
||||||
// RequestURI is the request URI as sent by the client to a server.
|
// RequestURI is the request URI as sent by the client to a server.
|
||||||
RequestURI string
|
RequestURI string
|
||||||
|
@ -116,8 +115,8 @@ type PolicyRule struct {
|
||||||
// An empty list implies every user.
|
// An empty list implies every user.
|
||||||
// +optional
|
// +optional
|
||||||
Users []string
|
Users []string
|
||||||
// The user groups this rule applies to. If a user is considered matching
|
// The user groups this rule applies to. A user is considered matching
|
||||||
// if the are a member of any of these groups
|
// if it is a member of any of the UserGroups.
|
||||||
// An empty list implies every user group.
|
// An empty list implies every user group.
|
||||||
// +optional
|
// +optional
|
||||||
UserGroups []string
|
UserGroups []string
|
||||||
|
|
Loading…
Reference in New Issue