You can configure inspections for use with a local image registry in Tanzu Mission Control.
- CIS Scan
- Lite Scan
- Conformance Scan
Instructions for running the Conformance and Lite scans are given in the steps below. You can directly run the CIS scan using the CLI as shown here:
tmc cluster inspection scan create --cluster-name <cluster-name> --inspection-type CIS --management-cluster-name <mc-name> --provisioner-name <provisioner-name>
The Lite and Conformance scans use third-party images to run the scans. These third-party images are not included as part of the Tanzu Mission Control distributed images. You must copy these images to run these scans. The list of the images needed for Kubernetes clusters versions 1.21 - 1.23 is included NEED EXTERNAL REFERENCE TO LIST.
There are two ways to copy these images to the registry: (1) manually push the images to the registry, or (2) install Sonabuoy and use it to push the images.
Prerequisites
Log in to the Tanzu Mission Control console.
- To configure inspections you must be associated with the Tanzu Mission Control role cluster.admin role.