TMAegisBeta
Thêm quy tắc cho openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.1.12

Ensure that the etcd data directory ownership is set to root:root

CaoCấp 1Xem xét thủ côngopenshift

Mô tả

Ensure that the etcd data directory ownership is set to root:root. The benchmark marks this recommendation Manual.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

In OpenShift 4, etcd members are deployed on the master nodes as static pods. The etcd database is stored on the master nodes in /var/lib/etcd and mounted to the etcd-member container via the host path mount data-dir with the same filesystem path (/var/lib/etcd). The ownership for this directory on the etcd-member container and on the container host is root:root. Starting with OCP 4.4, etcd is managed by the cluster-etcd-operator. The etcd operator will help to automate restoration of master nodes. There is also a new etcdctl container in the etcd static pod for quick debugging.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Execute the chown command to remediate ownership and set it file ownership to root:root.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
openshiftcontrol-planeetcdfile-permissions
Tham chiếu
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.1.12 Ensure that the etcd data directory ownership is set to root:root