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

  1. 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
  2. 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".

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

  1. 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

  1. 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)

  2. 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

  1. 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

  1. In the cluster where Central is installed, in the console, click Operators Installed Operators and select the RHACS Operator.
  2. Click Central in the menu bar.
  3. Click the name of the cluster where Central was installed. The default value is stackrox-central-services.
  4. Click the YAML tab.
  5. 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

  1. In the secured cluster, click Operators Installed Operators and select the RHACS Operator.
  2. Click Secured Cluster in the menu bar.
  3. Click the default cluster name, stackrox-secured-cluster-services, or the name that you entered during installation.
  4. Click the YAML tab.
  5. 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

  1. 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=false

    where:

    <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

  1. 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=false

    where:

    <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".
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동