Recipes - Wiz and Rafay - Rafay Product Documentation

Wiz

The Wiz Kubernetes Connector is a component of the Wiz cloud security platform designed to provide comprehensive security visibility and risk assessment for Kubernetes environments. It facilitates the integration of Kubernetes clusters with the Wiz platform, enabling the platform to monitor and analyze the security posture of containerized applications and their underlying infrastructure.

The Wiz Kubernetes Connector is typically deployed within the Kubernetes cluster itself, often using Helm charts or other Kubernetes-native deployment methods. It establishes a connection with the Wiz platform, allowing for data ingestion and analysis.

In essence, the Wiz Kubernetes Connector acts as a bridge between your Kubernetes clusters and the Wiz platform, providing the necessary data and context for effective container and Kubernetes security.

This recipe describes how customers can standardize the deployment of the Wiz Kubernetes Connector, giving them valuable insights into their Kubernetes infrastructure.


What Will You Do

In this exercise,


Assumptions


Step 1: Create the Wiz Kubernetes Connector add-on

1.1: Create Repository

1.2: Create Custom Catalog

1.3: Create Namespace

You will now create a managed namespace from the controller for the Wiz Kubernetes Connector.

1.4: Customize Values

The Wiz Kubernetes Connector Helm chart comes with a very complex values.yaml file with support for a large number of scenarios.

We will be customizing the default with our own override "values.yaml".

wizApiToken:
  clientId: "" # Client ID of the Wiz Service Account.
  clientToken: "" # Client secret of the Wiz Service Account.
  clientEndpoint: "" # Defaults to commercial.

1.5: Create custom Add-on

In this step, you will create a custom cluster add-on from the Catalog. The add-on will then be used in a custom cluster blueprint.


Step 2: Create Blueprint

In this step, you will create a custom cluster blueprint which contains the previously created add-on.


Step 3: Apply Blueprint

In this step, you will apply the previously created blueprint to the cluster. Applying the blueprint will install the Wiz Kubernetes Connector.


Step 4: Validate connectivity to Wiz Platform

4.1 Verify installation of Wiz Kubernetes Connector

kubectl get pod -n wiz

The output should be similar to below. You can validate the connector is operating properly by navigating to the Kubernetes cluster in your Wiz console.

kubectl get pod -n wiz
NAME                                              READY   STATUS   RESTARTS   AGE
wiz-kubernetes-connector-create-connector-5xqm4   1/1     Running    0          13s

Recap

Congratulations! You have successfully created a custom cluster blueprint with the Wiz Kubernetes Connector as a custom add-on. You can now use this blueprint on as many clusters as you require.