Wiz

Community Platform

runZero integrates with Wiz by importing data from the Wiz API. This integration allows you to sync data about your cloud assets, software, and vulnerabilities from Wiz to provide better visibility of your cloud assets and security posture.

Getting started with Wiz

To set up an integration with Wiz, you’ll need to:

  1. Create a Service Account in Wiz with permissions to read graph resources, read reports, and create reports.
  2. Configure the Wiz credential in runZero.
  3. Choose whether to configure the integration as a scan probe or connector task.
  4. Activate the integration to pull your data into runZero.

Requirements

Before you can set up the Wiz integration:

  • Make sure you have administrator access to the Wiz portal.

Step 1: Create a Service Account in Wiz

  1. Log in to Wiz with an Administrator account.
  2. Go to Settings > Access Management > Service Accounts > Add Service Account.
  3. Enter a descriptive name in the Name field.
  4. Select Custom Integration (GraphQL API) for the Type.
  5. Leave the Projects section blank so the Service Account has access to all projects.
  6. Enable read:resources, read:reports, and create:reports for the API Scopes.
  7. Click Add Service Account and copy the Client ID and Client Secret.
  8. Go to User Settings > Tenant and note the API Endpoint URL in the format: https://api.{{region}}.app.wiz.io/.

Step 2: Add the Wiz credential to runZero

  1. Go to the Credentials page in runZero. Provide a name for the credentials, like Wiz.
  2. Choose Wiz Client Secret from the list of credential types.
  3. Create your Wiz service account via the settings page in the Wiz portal, and then provide the following information:
    • Wiz Client ID - The client ID of your Wiz service account.
    • Wiz Client Secret - The client secret of your Wiz service account.
    • Wiz Auth URL- The URL used to authenticate the Wiz service account.
    • Wiz API URL - The API Endpoint URL used to access the Wiz API.
  4. If you want other organizations to be able to use this credential, select the Make this a global credential option. Otherwise, you can configure access on a per-organization basis.
  5. Save the credential.

You’re now ready to set up and activate the connection to bring in data from Wiz.

Step 3: Choose how to configure the Wiz integration

The Wiz integration can be configured as either a scan probe or a connector task. Scan probes gather data from integrations during scan tasks. Connector tasks run independently from either the cloud or one of your Explorers, only performing the integration sync.

Step 4: Set up and activate the integration to sync data

After you add your Wiz credential, you’ll need to sync your data from Wiz.

Step 4a: Configure the Wiz integration as a connector task

A connection requires you to specify a schedule and choose a site. The schedule determines when the sync occurs, and the site determines where any new Wiz-only assets are created.

  1. Activate a connection to Wiz. You can access all available third-party connections from the integrations page, your inventory, or the tasks page.
  2. Choose the credentials you added earlier. If you don’t see the credentials listed, make sure the credentials have access to the organization you are currently in.
  3. Set the severity and risk levels you want to import (optional).
  4. Set the Fingerprint only toggle to Yes if you want vulnerability records to be ingested for fingerprint analysis but not stored in your runZero vulnerability inventory (optional).
  5. Enter a name for the task, like Wiz Sync (optional).
  6. Choose the Explorer to perform this connector task from (optional).
  7. Choose the site you want to add your assets to. All newly discovered assets will be stored in this site.
  8. Enter a description for the task (optional).
  9. If you want to exclude assets that have not been scanned by runZero from your integration import, switch the Exclude unknown assets toggle to Yes. By default, the integration will include assets that have not been scanned by runZero.
  10. If you want to exclude assets that have not been assessed for vulnerabilities, switch the Include unscanned assets toggle to No.
  11. Schedule the sync. A sync can be set to run on a recurring schedule or run once. The schedule will start on the date and time you have set.
  12. Activate the connection when you are done. The sync will run on the defined schedule. You can always check the Scheduled tasks to see when the next sync will occur.

Step 4b: Configure the Wiz integration as a scan probe

You can run the Wiz integration as a scan probe so that the runZero Explorer will pull your Wiz assets into the runZero Console.

In a new or existing scan configuration:

  • Ensure that the WIZ option is set to Yes in the Probes and SNMP tab and change any of the default options if needed.
  • Optionally, set the severity and risk levels for ingested vulnerability results.
  • Set the correct Wiz credential to Yes in the Credentials tab.

Step 5: View Wiz assets, software, and vulnerabilities

After a successful sync, you can go to your inventory to view your Wiz assets. These assets will have a Wiz icon listed in the Source column.

The Wiz integration gathers details about software and vulnerabilities detected in addition to enriching asset inventory data. Go to Inventory > Software or Inventory > Vulnerabilities to view the software and vulnerability data provided by Wiz.

To filter by Wiz assets, consider running the following queries:

Click into each asset to see its individual attributes. runZero will show you the attributes gathered from Wiz.

Troubleshooting

If you are having trouble using this integration, the questions and answers below may assist in your troubleshooting.

Why is the Wiz integration unable to connect?

  1. Are you getting any data from the Wiz integration?
    • Make sure to query the inventory rather than look at the task details to review all the data available from this integration.
    • In some cases, integrations have a configuration set that limits the amount of data that comes into the runZero console.
  2. Some integrations require very specific actions that are easy to overlook. If a step is missed when setting up the intergration, it may not work correctly. Please review this documentation and follow the steps exactly.
    • Double-check the API Scopes assigned to the Wiz service account. A valid service account that is missing the required permissions will result in a failed import.
  3. If the Wiz integration is unable to connect be sure to check the task log for errors. Some common errors include:
    • 500 - server error, unable to connect to the endpoint
    • 404 - hitting an unknown endpoint on the server
    • 403 - not authorized, likely a credential issue
Updated