TMAegis
Другие правила для kubernetes

TMA-KUBERNETES-1.1.20

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

ВысокийУровень 1Ручная проверкаkubernetes

Описание

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

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

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------

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

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

Свойства

Операционные системы
Любая
Теги
kubernetescontrol-planefile-permissions
Источник
CIS Kubernetes Benchmark v2.1.0 - 1.1.20 Ensure that the Kubernetes PKI certificate file permissions are set to 644 or more restrictive