OX K8s Inspector
Note: This capability is currently in Early Access (EA) and is not generally available. To request access, please contact OX technical support.
OX K8s Inspector is a lightweight data collection tool that enables secure extraction of Kubernetes cluster data without requiring external access to the Kubernetes API server.
OX K8s Inspector runs as a Kubernetes CronJob inside your cluster, collecting configuration and activity data at regular intervals and securely sending it to the OX platform for analysis.
This solution is designed for environments where the Kubernetes API server is not exposed publicly. The setup adheres to security best practices that minimize the cluster's attack surface.
By operating entirely within the cluster and using outbound communication, K8s Inspector avoids the need for direct access from external systems while still providing full visibility into Kubernetes environments.
OX Inspector architecture
OX K8s Inspector components:
Inspector CronJob: Runs inside your Kubernetes cluster, collects relevant data, and securely transmits it to OX.
OX Backend: Authenticates the Inspector, handles secure data transfer, and processes the data to produce insights.
OX K8s Inspector data flow:
The K8s Inspector CronJob runs inside your Kubernetes cluster as a scheduled task.
Using a configured API key, the CronJob authenticates with the OX backend.
The CronJob collects relevant data by querying the Kubernetes API server.
All collected data is encrypted locally within the cluster.
The encrypted data is then securely uploaded to the OX backend.
The OX platform analyzes the uploaded data during scans and presents insights in the user interface.
Installing OX K8s Inspector
To allow K8s Inspector to communicate with the OX platform, you need to create an API key, and then go to your cluster and start the installation. Here are the required installation steps:
Make sure that the cluster has access to:
api.cloud.ox.security
Creating a new API key
From the left pane of OX dashboard, select Settings > API Key Settings.
In the API Key Settings window, select CREATE API KEY.

In the Create API Key box, set the following and select CREATE:
API Key Name: Add a meaningful name that is easy to identify. It is good practice to include the key's intended purpose in the name.
API Key Type: Select K8s Inspector Integration.
Expiration Date: Until when you can use this key.
Copy the key that appears and save the key it in a safe location. This is the only time when you can see and copy the actual key.
Select CLOSE. The new key appears in the API Key Settings page.
Pushing API keys to Kubernetes Secrets
To create a Kubernetes secret named
ox-inspector-secretwith your API key, run:
Replace <your-api-key-value> with the API key you previously generated.
Installing OX Inspector with Helm
<CLOUD_PROVIDER>
Cloud provider where the cluster is running (EKS, GKE, or AKS)
<ACCOUNT_ID>
Cloud provider account identifier (AWS Account ID, Azure Subscription ID, or GCP Project ID)
<REGION>
Cloud provider region where the cluster is deployed (e.g., "us-west-2", "eu-west-1")
<CLUSTER_NAME>
Name of the Kubernetes cluster where OX Inspector will run
Additional Values:
oxInspector.cluster.is_on_prem:Whether you are an OX on-premises customer (true) or OX SaaS customer (false). Default: falsewheather your an OX SaaS customer or an OX onprem customer
oxInspector.schedule: Cron schedule expression for the Inspector job. Default: "0 12 * * " (runs daily at 12:00 PM)oxInspector.proxy_url: A value you can set to route all traffic from Inspector through your proxy server.
Connecting to OX K8s Inspector
Note: Before connecting, a DevOps team member must ensure that the CronJob is running in your environment.
In the OX platform, go to the Connectors page.
Select Add Connector and search for OX K8s Inspector.
In the Configure your OX K8s Inspector credentials dialog, select CONNECT.

To select specific clusters for scanning by the OX platform, select the gear icon next to DELETE.
Select the clusters you want to protect.

Select SAVE.
Last updated
