TMAegis
Weitere Regeln für kubernetes

TMA-KUBERNETES-1.1.20

Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive

HochStufe 1Manuelle Prüfungkubernetes

Beschreibung

Ensure that Kubernetes PKI certificate files have permissions of 644 or more restrictive. The benchmark marks this recommendation Manual.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

Run the below command (based on the file location on your system) on the Control Plane node. For example, stat -c '%a' /etc/kubernetes/pki/*.crt Verify that the permissions are 644 or more restrictive. or ls -l /etc/kubernetes/pki/*.crt Verify -rw------

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Run the below command (based on the file location on your system) on the Control Plane node. For example, chmod -R 644 /etc/kubernetes/pki/*.crt

Eigenschaften

Betriebssysteme
Beliebig
Tags
kubernetescontrol-planefile-permissions
Referenz
CIS Kubernetes Benchmark v2.1.0 - 1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive