TMAegisBeta
Thêm quy tắc cho openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.23

Ensure that the --service-account-lookup argument is set to true

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

Mô tả

Validate service account before validating token. 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 denies access for any OAuth Access token that does not exist in its etcd data store. OpenShift does not use the service-account-lookup flag even when it is set. Run the following command: oc get configmap config -n openshift-kube-apiserver -ojson | jq -r '.data["config.yaml"]' | jq '.apiServerArguments."service-account-lookup"[]' Verify that if the --service-account-lookup argument exists it is set to true.

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 --service-account-lookup argument to true

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.23 Ensure that the --service-account-lookup argument is set to true