TMAegisBeta
Thêm quy tắc cho openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.15

Ensure that the --insecure-port argument is set to 0

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

Mô tả

Do not bind to insecure port. 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.

The openshift-kube-apiserver is served over HTTPS with authentication and authorization; the secure API endpoint is bound to 0.0.0.0:6443 by default. By default the insecure-port argument is set to 0. Note that the openshift-apiserver is not running in the host network namespace. The port is not exposed on the node, but only through the pod network. Run the following command: oc -n openshift-kube-apiserver get endpoints -o jsonpath='{.items[*].subsets[*].ports[*].port}' Verify the return value is 6443.

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

Set the openshift-kube-server --insecure-port argument to 0

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.15 Ensure that the --insecure-port argument is set to 0