TMAegisBeta
Thêm quy tắc cho openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.11

Ensure that the admission control plugin NamespaceLifecycle is set

Trung bìnhCấp 1Xem xét thủ côngopenshift

Mô tả

Reject creating objects in a namespace that is undergoing termination. 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.

OpenShift enables the NamespaceLifecycle plugin 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 that NamespaceLifecycle is present in the returned list.

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

Configure NamespaceLifecycle admission controller.

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.11 Ensure that the admission control plugin NamespaceLifecycle is set