Wiz
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:
- Create a Service Account in Wiz with permissions to read graph resources, read reports, and create reports.
- Configure the Wiz credential in runZero.
- Choose whether to configure the integration as a scan probe or connector task.
- 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
- Sign in to Wiz with an Administrator account.
- Go to Settings > Access Management > Service Accounts > Add Service Account.
- Enter a descriptive name in the Name field.
- Select
Custom Integration (GraphQL API)
for the Type. - Leave the Projects section blank so the Service Account has access to all projects.
- Enable
read:resources
,read:reports
, andcreate:reports
for the API Scopes. - Click Add Service Account and copy the Client ID and Client Secret.
- 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
- Go to the Credentials page in runZero. Provide a name for the credentials, like
Wiz
. - Choose Wiz Client Secret from the list of credential types.
- 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.
- 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. - 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.
- Activate a connection to Wiz. You can access all available third-party connections from the integrations page, your inventory, or the tasks page.
- 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.
- Set the severity and risk levels you want to import (optional).
- 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). - Enter a name for the task, like
Wiz Sync
(optional). - Choose the Explorer to perform this connector task from (optional).
- Choose the site you want to add your assets to. All newly discovered assets will be stored in this site.
- Enter a description for the task (optional).
- 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. - If you want to exclude assets that have not been assessed for vulnerabilities, switch the Include unscanned assets toggle to
No
. - 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.
- 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 toYes
in theProbes 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 toYes
in theCredentials
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:
- View all Wiz assets:
source:Wiz
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?
- 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.
- 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.
- 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