TMA-OPENSHIFT-VIRT-1.12
Restrict VNC access to cluster workloads
Descripción
Access to each workload’s virtual screen is provided via VNC. Permission to use VNC is granted via a role, which means users with role assigned can access the VNC console of all workloads in a namespace. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
Verify to which users have the necessary permissions to create tokens: $ oc get rolebinding - ojson | jq - c '.items[] | select(.roleRef.name | contains("token.kubevirt.io:generate"))'
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Assign this RoleBinding only to users with approval to use it, otherwise remove unapproved users.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshift-virtmanual-review
- Referencia
- CIS Red Hat OpenShift Virtual Machine Extension Benchmark v1.0.0 - 1.12 Restrict VNC access to cluster workloads