TMAegisBeta
More rules for openshift-virt

OpenShift Virtualization

TMA-OPENSHIFT-VIRT-1.13

Restrict access to create and modify the Virtual Machine Cluster Instance and Preference Types

MediumLevel 1Manual reviewopenshift-virt

Description

An instance type is a reusable object used to create VMs with sane defaults based on the desired type of VM. Since the object is used to create instances of VMs in the entire cluster, its creation and update needs to be carefully and securely managed. The benchmark marks this recommendation Manual; TMAegis reports it as a manual review item with the audit steps.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Check who has the ability to create InstanceTypes with the following command: $ oc adm policy who - can create,update virtualmachineclusterinstancetypes

How it is fixed

Fix method: Guidance or infrastructure patch

Assign create and update access only to approved virtualmachineclusterinstancetypes objects in the cluster. Remove the create and update permission from users who are not authorized to perform the actions.

Properties

Operating systems
Any
Tags
openshift-virtmanual-review
Reference
CIS Red Hat OpenShift Virtual Machine Extension Benchmark v1.0.0 - 1.13 Restrict access to create and modify the Virtual Machine Cluster Instance and Preference Types