Wiz
Collect security data from Wiz in Rapid7 SIEM (InsightIDR). Wiz issues appear as alerts you can investigate, and Wiz telemetry, including detections, findings, and audit logs, is available for search and detection rules.
SIEM connects to the Wiz GraphQL API with a Wiz service account that you create, and polls Wiz every 5 minutes for the data types you select. Collection runs through the API, so you can skip installing a Collector, opening firewall ports, and setting up a webhook.
To set up Wiz:
- Review Before you begin and complete any prerequisite steps.
- Configure Wiz to send data to SIEM (InsightIDR).
- Configure SIEM (InsightIDR) to collect data from the event source.
- Verify the event source.
You can also:
Before you begin
This procedure creates a service account in Wiz and connects it to SIEM.
Confirm these requirements before you start:
- Wiz role - You need permission to create service accounts in Wiz, typically through a Wiz Global Admin role or a role with service account management rights.
- Wiz commercial tenant - The tenant must authenticate through
auth.app.wiz.io. Wiz for government tenants, including FedRAMP tenants with InsightGovCloud, aren’t supported at this time. - Wiz Defend license - Detections (runtime threat detections) require a Wiz Defend license. Vulnerability findings, cloud configuration findings, audit logs, and Toxic Combination issues don’t require it.
- SIEM permissions - You need permission to add event sources. Log Search is required to collect telemetry and unparsed data.
Configure Wiz to send data to SIEM (InsightIDR)
Step 1: Choose API scopes
Scopes control which Wiz data SIEM can read. Grant only the scopes for the data you plan to collect. The connection test checks each scope and reports the ones that are missing.
Read scopes
Read scopes let SIEM collect data from Wiz.
Grant the scopes for each data type you plan to collect:
| Data type | Scopes |
|---|---|
| Issues | read:issues, read:threat_issues |
| Detections | read:detections, read:cloud_events_cloud, read:cloud_events_sensor, read:security_scans |
| Cloud Configuration Findings | read:cloud_configuration |
| Vulnerability Findings | read:vulnerabilities |
| Audit Logs | admin:audit |
Grant read:threat_issues to collect Threat Detection issues.
Grant narrow scopes
Wiz also accepts broad scopes such as
read:all. Rapid7 recommends granting only the scopes listed here. Theread:allscope doesn’t includeadmin:audit, which Audit Logs requires.
Step 2: Create a service account in Wiz
SIEM uses a Wiz service account to authenticate with the Wiz API.
To create the service account:
- From the Wiz console, select Settings > Access Management > Service Accounts.
- Select Add Service Account.
- Enter a name for the service account, for example
Rapid7 SIEM. - For Type, select Custom Integration (GraphQL API).
- (Optional) To limit SIEM to specific Wiz projects, select those projects. SIEM sees data only in the selected projects.
- Under API Scopes, select the scopes you chose in Choose API scopes.
- Select Add Service Account.
- Copy the Client ID and Client Secret.
Copy the Client Secret now
Wiz shows the Client Secret only once. Store it in a secure location. If you lose it, rotate the secret in Wiz and update the connection in SIEM.
Step 3: Find your Tenant Data Center
SIEM builds the Wiz API address from your Tenant Data Center value.
To find your Tenant Data Center:
- From the Wiz console, select User Settings > Tenant.
- Copy the Tenant Data Center value, for example
us1,us17, oreu3.
Enter only the short identifier, for example us17, and not a URL. The API address uses the format api.<tenant data center>.app.wiz.io/graphql.
Configure SIEM (InsightIDR) to collect data from the event source
This procedure adds the event source, connects SIEM to Wiz, and sets the data to collect.
To add the Wiz event source:
- From Command Home, go to Data Connectors > Data Collectors.
- Go to the Event Sources tab, then select Add Event Source.
- Do one of the following:
- Search for Wiz in the event sources search bar.
- In the Product Type filter, select Cloud Service.
- Select the Wiz event source tile.
- Name the event source. This name becomes the name of the log that contains the event data in Log Search.
- For the collection method, select Expanded Cloud.
- Select Add a New Connection.
-
In the Create a Cloud Connection screen, enter a name for the new connection.
-
In the Client ID field, enter the Client ID that you obtained in Create a service account in Wiz.
-
In the Tenant Data Center field, enter the Tenant Data Center value that you obtained in Find your Tenant Data Center.
-
In the Client Secret field, add a new credential:
- Name your credential.
- Describe your credential.
- Enter the Client Secret that you obtained in Create a service account in Wiz.
- Select the other Rapid7 solutions that can use the credential.
-
Select Save & Test Connection.
SIEM (InsightIDR) lists each scope, grouped by data type, as granted or not granted. For details, see Connection test results.
-
- (Optional) Select the option to send unparsed data .
- Under Resource Collection, select the data to collect. All options are selected by default. For details about each option, see Collected data.
- Select Save.
Limit high-volume data
Vulnerability Findings can generate very high volume in large environments, so clear this option unless you need it. Cloud Configuration Findings can also generate high volume. Audit Logs generate low volume.
Verify the event source
Data usually appears within 10 minutes of saving. The first run takes longer if Wiz holds a lot of history.
To verify that SIEM collects Wiz data:
- From Command Home, go to Data Connectors > Data Collectors.
- Go to the Event Sources tab.
- Find the Wiz event source and confirm that its status is healthy.
- After about 10 minutes, open Log Search and select the Wiz log sets.
- If you collect Issues, open Alerts and confirm that alerts from Wiz appear.
Troubleshoot common issues
Use connection test results and event source health messages to identify the cause of setup problems.
Find your symptom to identify the cause and solution:
| Symptom | Likely cause | Solution |
|---|---|---|
| Connection test message: Wiz rejected the provided credentials. | The Client ID or Client Secret is incorrect, or the service account was deleted. | Copy the Client ID again. Rotate the secret in Wiz and enter the new secret. |
| Connection test message: Wiz rejected the access token for the given Tenant Data Center. | The Tenant Data Center doesn’t match the tenant that owns the service account. | Copy the value from User Settings > Tenant in Wiz. Enter only the ID, for example us17. |
| Connection test message: Unable to reach the Wiz GraphQL API. | The Tenant Data Center value contains a typo. | Check the value. Use the short ID, not a URL. |
| Connection test message: None of the required scopes are granted to the Wiz Service Account. | The service account has no read scopes. | Add the scopes from Choose API scopes in Wiz, then run the test again. |
Connection test passes, but some scopes show False. | Data types that use those scopes fail to collect. | Add the missing scopes in Wiz, or clear the matching options in SIEM. |
| Event source health message: Authentication failed… for Issues, Cloud Configurations, Vulnerabilities, or Wiz Detections, but the connection test passes. | The service account lacks a scope for that data type, even though the message mentions credentials. | Run the connection test. Grant every scope that shows False. |
| Event source health message: Wiz accepted this integration’s credentials but denied access to audit logs… | The service account lacks admin:audit. | Grant admin:audit to the service account. |
| Event source health message: Rate limited… We will retry automatically. | The Wiz API rate limit applies, and other tools might share the same service account. | No action is needed. If the message persists, create a separate service account for SIEM. |
| No data after 15 minutes. | A data type isn’t selected, scopes are missing, or Wiz holds no matching open data. | Check the Resource Collection selections and run the connection test. Confirm that Wiz has open issues or findings in the projects the service account can access. |
| Threat Detection issues don’t appear as alerts. | The read:threat_issues scope is missing, or the issue belongs to a project outside the service account’s access. | Grant read:threat_issues and check the project access of the service account. |
Collected data
SIEM polls Wiz every 5 minutes for each data type you select.
SIEM collects these data types:
| Data type | What it collects | First collection covers | Where it appears in SIEM |
|---|---|---|---|
| Issues | Open and In Progress Wiz issues of type Threat Detection and Toxic Combination | 90 days | Alerts, and the Third Party Alerts log set in Log Search |
| Detections | Wiz runtime threat detections of type Generated Threat | 90 days | Log Search and Rapid7 AI investigations |
| Cloud Configuration Findings | Open Cloud Security Posture Management (CSPM) findings | 90 days | Log Search |
| Vulnerability Findings | Open vulnerability findings across virtual machines, containers, and serverless | 90 days | Log Search |
| Audit Logs | Wiz platform activity, including logins, API calls, and configuration changes | 24 hours | Log Search |
Data collection follows these rules:
- SIEM collects only open issues and findings. For Issues, that means Open and In Progress.
- SIEM collects issues again after they reopen in Wiz.
- SIEM collects cloud configuration data through Cloud Configuration Findings, not Issues.
Connection test results
The connection test signs in to Wiz with your credentials, then reports each scope as True (granted), False (not granted), or Unknown. Results are grouped by data type.
Scope results use this format:
Issues
read:issues [True]
Detections
read:detections [True]
read:cloud_events_cloud [False]
...Use these rules to interpret the results:
- The test passes if at least one read scope is granted.
- Data types with missing scopes fail to collect, so fix any
Falseresult for data you want to collect. Unknownmeans Wiz didn’t share the scope list for the account, so SIEM couldn’t check the scopes. Confirm the scopes in Wiz.