OpenShift Virtualization
TMA-OPENSHIFT-VIRT-1.11
Restrict exec access to the pods
Trung bìnhCấp 1Xem xét thủ côngopenshift-virt
Mô tả
The ability to exec commands in a pod allows for arbitrary execution by users. This includes administrative functions which normally require elevation of privileges by an approved administrator, and could lead to unauthorized use of both security and non - security related administrative functions. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.
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.
To verify who can exec commands in pods, use the following command: $ oc adm policy who - can exec pod
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
Assign exec access to pods in the cluster only to approved administrators.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- openshift-virtmanual-review
- Tham chiếu
- CIS Red Hat OpenShift Virtual Machine Extension Benchmark v1.0.0 - 1.11 Restrict exec access to the pods