TMAegisBeta
Thêm quy tắc cho openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.13

Ensure that the admission control plugin NodeRestriction is set

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

Mô tả

Limit the Node and Pod objects that a kubelet could modify. 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, the NodeRestriction admission plugin is enabled by default. Use the following command to obtain a list of configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' Verify the list includes NodeRestriction.

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

Enable the NodeRestriction admission plugin.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
openshiftapi-server
Tham chiếu
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.13 Ensure that the admission control plugin NodeRestriction is set