13.2. Enabling Scanner V4
Scanner V4 is not enabled by default, but you can enable Scanner V4 during or after installation. Because the StackRox Scanner provides information about Kubernetes system platform vulnerabilities and non-RHCOS vulnerabilities, you must keep the StackRox scanner enabled to continue receiving reports for that data.
Scanner V4 is enabled in Central and is not required in secured clusters, unless you have specific needs, such as the need to access image registries that are located outside of the cluster and are not accessible from Central. For example, you enable Scanner V4 on secured clusters when using the OpenShift image registry, or in a RHACS Cloud Service system that only allows traffic to the registry from within its own firewalls. It is also required when using registry mirroring. For more information, see Accessing delegated image scanning.
13.2.1. Enabling Scanner V4 when installing by using the Operator 링크 복사링크가 클립보드에 복사되었습니다!
To use Scanner V4, you can enable it during installation on the cluster where Central is installed. Optionally, you can enable it on secured clusters during installation.
13.2.1.1. Enabling RHACS Scanner V4 for Central when installing with the Operator 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable it during installation. Use this procedure to understand the steps you must follow when enabling Scanner V4. However, you might need to refer to the detailed installation documentation in "Additional resources", depending on the configuration of your other components.
Procedure
On the cluster where Central is installed, follow the installation procedures as described in "Installing Central using the Operator method". Choose one of these methods to enable Scanner V4:
- As described in that procedure, when configuring the available options for Central, go to the Scanner V4 Component Settings section and in the Scanner V4 Component menu, select Enabled.
In the Central custom resource (CR) YAML, configure the following parameter:
scannerV4: scannerComponent: Enabled
- Configure your init bundle or cluster registration secret (CRS) to allow communication between Central and the secured cluster. For more information, see "Generating and applying an init bundle or cluster registration secret for RHACS on Red Hat OpenShift".
13.2.1.2. Enabling RHACS Scanner V4 on the secured cluster when installing with the Operator 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable it during installation. Use this procedure to understand the steps you must follow when enabling Scanner V4. However, you might need to refer to the detailed installation documentation in "Additional resources", depending on the configuration of your other components.
Prerequisite
- You set up Central and the secured cluster by using an init bundle or CRS so that they can communicate with each other.
Procedure
On the secured cluster, follow the installation procedures as described in "Installing RHACS on secured clusters by using the Operator". Choose one of these methods to enable Scanner V4:
- In the Scanner V4 Component Settings section, in the Scanner V4 Component menu, select AutoSense.
In the SecuredCluster CR YAML, configure the following parameter:
scannerV4: scannerComponent: AutoSense
13.2.2. Enabling Scanner V4 when installing by using Helm 링크 복사링크가 클립보드에 복사되었습니다!
To use Scanner V4, you can enable it during installation on the cluster where Central is installed. Optionally, you can enable it on secured clusters during installation.
13.2.2.1. Enabling RHACS Scanner V4 for Central when installing with Helm 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable it during installation. Use this procedure to understand the steps you must follow when enabling Scanner V4. However, you might need to refer to the detailed installation documentation in "Additional resources", depending on the configuration of your other components.
Procedure
On the cluster where Central is installed, run the following command, using the instructions in "Install Central using Helm charts with customizations" if you need more information:
$ helm install -n stackrox --create-namespace \ stackrox-central-services rhacs/central-services \ --set scannerV4.disable=false \ -f <path_to_values_public.yaml> -f <path_to_values_private.yaml>Example output
Central Services Configuration Summary: Stackrox Version: 4.7.1 Kubernetes Version: v1.31.6 Kubernetes Namespace: stackrox Helm Release Name: stackrox-central-services OpenShift Cluster: 4 Scanner V4: enabled Scanner V4 DB Volume: PVC (scanner-v4-db)- Configure your init bundle or cluster registration secret (CRS) so that Central and the secured cluster can communicate. For more information, see "Generating and applying an init bundle or cluster registration secret for RHACS on Red Hat OpenShift" or "Generating and applying an init bundle or cluster registration secret for RHACS on other platforms".
13.2.2.2. Enabling RHACS Scanner V4 on the secured cluster when installing with Helm 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable it during installation. Use this procedure to understand the steps you must follow when enabling Scanner V4. However, you might need to refer to the detailed installation documentation in "Additional resources", depending on the configuration of your other components.
Prerequisite
- You set up Central and the secured cluster by using an init bundle or CRS so that they can communicate with each other.
Procedure
On the secured cluster, run the following command, using the instructions in "Configuring the secured-cluster-services Helm chart with customizations" if you need more information:
$ helm install -n stackrox --create-namespace \ stackrox-secured-cluster-services rhacs/secured-cluster-services \ --set-file crs.file=<crs_file_name.yaml> \ -f <path_to_pull_secret.yaml> \ -f <path_to_values_public.yaml> -f <path_to_values_private.yaml> \ --set clusterName=<name_of_the_secured_cluster> \ --set centralEndpoint=<endpoint_of_central_service> \ --set scanner.disable=false \ --set scannerV4.disable=false
13.2.3. Enabling Scanner V4 after installing by using the Operator 링크 복사링크가 클립보드에 복사되었습니다!
To use Scanner V4, you can enable it after installation on the cluster where Central is installed. Optionally, you can enable it on secured clusters after installation.
13.2.3.1. Enabling RHACS Scanner V4 for Central after Operator installation 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default. If you did not enable it during installation, you can enable it after installation.
Procedure
-
In the cluster where Central is installed, in the console, click Operators
Installed Operators and select the RHACS Operator. - Click Central in the menu bar.
- Click the name of the cluster where Central was installed. The default value is stackrox-central-services.
- Click the YAML tab.
Edit the YAML file as shown in the following example:
scannerV4: scannerComponent: Enabled
13.2.3.2. Enabling RHACS Scanner V4 on the secured cluster after Operator installation 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default. If you did not enable it during installation, you can enable it after installation.
Prerequisite
- You set up Central and the secured cluster by using an init bundle or CRS so that they can communicate with each other.
Procedure
-
In the secured cluster, click Operators
Installed Operators and select the RHACS Operator. - Click Secured Cluster in the menu bar.
- Click the default cluster name, stackrox-secured-cluster-services, or the name that you entered during installation.
- Click the YAML tab.
Edit the YAML file as shown in the following example:
scannerV4: scannerComponent: AutoSense
13.2.4. Enabling Scanner V4 after installing by using Helm 링크 복사링크가 클립보드에 복사되었습니다!
To use Scanner V4, you can enable it after installation on the cluster where Central is installed. Optionally, you can enable it on secured clusters after installation.
13.2.4.1. Enabling RHACS Scanner V4 for Central after Helm installation 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable Scanner V4 after installation.
Procedure
On the cluster where Central is installed, run the following command, using the instructions in "Changing configuration options after deploying the central-services Helm chart" if you need more information:
$ helm upgrade -n stackrox \ stackrox-central-services rhacs/central-services \ --reuse-values \ -f <path_to_values_public.yaml> \ -f <path_to_generated-values.yaml> \ --set scannerV4.disable=falsewhere:
- <path_to_generated-values.yaml>
- Specifies the path to the generated values YAML file. When updating the system and installing a new component, you must provide the internal CA. See "Retrieving the automatically generated certificate authority".
13.2.4.2. Enabling RHACS Scanner V4 on the secured cluster after Helm installation 링크 복사링크가 클립보드에 복사되었습니다!
Scanner V4 is not enabled by default, but you can enable Scanner V4 after installation.
Prerequisites
- You set up Central and the secured cluster by using an init bundle or CRS so that they can communicate with each other.
Procedure
On the secured cluster, run the following command, using the instructions in "Configuring the secured-cluster-services Helm chart with customizations" if you need more information:
$ helm upgrade -n stackrox \ stackrox-central-services rhacs/secured-cluster-services \ --reuse-values \ -f <path_to_values_public.yaml> \ -f <path_to_generated-values.yaml> \ --set scannerV4.disable=falsewhere:
- <path_to_generated-values.yaml>
- Specifies the path to the generated values YAML file. When updating the system and installing a new component, you must provide the internal CA. See "Retrieving the automatically generated certificate authority".