Register and document some authz-related audit annotations (#32200)
* Registered audit annotation * Update content/en/docs/reference/labels-annotations-taints/audit-annotations.md Co-authored-by: Qiming Teng <tengqm@outlook.com> * fix. Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
@@ -56,4 +56,20 @@ that was transgressed as well as the specific policies on the fields that were
|
||||
violated from the PodSecurity enforcement.
|
||||
|
||||
See [Pod Security Standards](/docs/concepts/security/pod-security-standards/)
|
||||
for more information.
|
||||
for more information.
|
||||
|
||||
## authorization.k8s.io/decision
|
||||
|
||||
Example: `authorization.k8s.io/decision: "forbid"`
|
||||
|
||||
This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
|
||||
|
||||
See [Auditing](/docs/tasks/debug-application-cluster/audit/) for more information.
|
||||
|
||||
## authorization.k8s.io/reason
|
||||
|
||||
Example: `authorization.k8s.io/decision: "Human-readable reason for the decision"`
|
||||
|
||||
This annotation gives reason for the [decision](#authorization-k8s-io-decision) in Kubernetes audit logs.
|
||||
|
||||
See [Auditing](/docs/tasks/debug-application-cluster/audit/) for more information.
|
||||
|
||||
Reference in New Issue
Block a user