File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
content/en/docs/concepts/security Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -206,6 +206,25 @@ SELinux is only available on Linux nodes, and enabled in
206
206
[ some Linux distributions] ( https://en.wikipedia.org/wiki/Security-Enhanced_Linux#Implementations ) .
207
207
{{< /note >}}
208
208
209
+ ## Logs and auditing
210
+
211
+ - [ ] Audit logs, if enabled, are protected from general access.
212
+ - [ ] The ` /logs ` API is disabled (you are running kube-apiserver with
213
+ ` --enable-logs-handler=false ` ).
214
+
215
+ Kubernetes includes a ` /logs ` API endpoint, enabled by default,
216
+ that lets users request the contents of the API server's ` /var/log ` directory over HTTP. Accessing
217
+ that endpoint requires authentication.
218
+
219
+ Allowing broad access to Kubernetes logs can make security information
220
+ available to a potential attacker.
221
+
222
+ As a good practice, set up a separate means to collect and aggregate
223
+ control plane logs, and do not use the ` /logs ` API endpoint.
224
+ Alternatively, if you run your control plane with the ` /logs ` API endpoint
225
+ and limit the content of ` /var/log ` (within the host or container where the API server is running) to
226
+ Kubernetes API server logs only.
227
+
209
228
## Pod placement
210
229
211
230
- [ ] Pod placement is done in accordance with the tiers of sensitivity of the
You can’t perform that action at this time.
0 commit comments