File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
content/en/docs/reference/labels-annotations-taints Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -495,8 +495,10 @@ based on setting `securityContext` within the Pod's `.spec`.
495
495
496
496
## Annotations used for audit
497
497
498
- - [ ` pod-security.kubernetes .io/exempt ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#pod-security-kubernetes- io-exempt )
499
- - [ ` pod-security.kubernetes .io/enforce-policy ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#pod-security-kubernetes- io-enforce-policy )
498
+ - [ ` authorization.k8s .io/decision ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#authorization-k8s- io-decision )
499
+ - [ ` authorization.k8s .io/reason ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#authorization-k8s- io-reason )
500
500
- [ ` pod-security.kubernetes.io/audit-violations ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#pod-security-kubernetes-io-audit-violations )
501
+ - [ ` pod-security.kubernetes.io/enforce-policy ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#pod-security-kubernetes-io-enforce-policy )
502
+ - [ ` pod-security.kubernetes.io/exempt ` ] ( /docs/reference/labels-annotations-taints/audit-annotations/#pod-security-kubernetes-io-exempt )
501
503
502
504
See more details on the [ Audit Annotations] ( /docs/reference/labels-annotations-taints/audit-annotations/ ) page.
Original file line number Diff line number Diff line change @@ -56,4 +56,20 @@ that was transgressed as well as the specific policies on the fields that were
56
56
violated from the PodSecurity enforcement.
57
57
58
58
See [ Pod Security Standards] ( /docs/concepts/security/pod-security-standards/ )
59
- for more information.
59
+ for more information.
60
+
61
+ ## authorization.k8s.io/decision
62
+
63
+ Example: ` authorization.k8s.io/decision: "forbid" `
64
+
65
+ This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
66
+
67
+ See [ Auditing] ( /docs/tasks/debug-application-cluster/audit/ ) for more information.
68
+
69
+ ## authorization.k8s.io/reason
70
+
71
+ Example: ` authorization.k8s.io/decision: "Human-readable reason for the decision" `
72
+
73
+ This annotation gives reason for the [ decision] ( #authorization-k8s-io-decision ) in Kubernetes audit logs.
74
+
75
+ See [ Auditing] ( /docs/tasks/debug-application-cluster/audit/ ) for more information.
You can’t perform that action at this time.
0 commit comments