TMAegisBêta
Plus de règles pour openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.15

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

MoyenneNiveau 1Revue manuelleopenshift

Description

Do not bind to insecure port. The benchmark marks this recommendation Manual.

Méthode de vérification

Méthode d'audit: Revue manuelle

Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --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.

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
openshiftapi-server
Référence
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.15 Ensure that the --insecure-port argument is set to 0