Wiz
Copy link

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:

You can also:

Before you begin
Copy link

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)
Copy link

Step 1: Choose API scopes
Copy link

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
Copy link

Read scopes let SIEM collect data from Wiz.

Grant the scopes for each data type you plan to collect:

Data typeScopes
Issuesread:issues, read:threat_issues
Detectionsread:detections, read:cloud_events_cloud, read:cloud_events_sensor, read:security_scans
Cloud Configuration Findingsread:cloud_configuration
Vulnerability Findingsread:vulnerabilities
Audit Logsadmin: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. The read:all scope doesn’t include admin:audit, which Audit Logs requires.

Step 2: Create a service account in Wiz
Copy link

SIEM uses a Wiz service account to authenticate with the Wiz API.

To create the service account:

  1. From the Wiz console, select Settings > Access Management > Service Accounts.
  2. Select Add Service Account.
  3. Enter a name for the service account, for example Rapid7 SIEM.
  4. For Type, select Custom Integration (GraphQL API).
  5. (Optional) To limit SIEM to specific Wiz projects, select those projects. SIEM sees data only in the selected projects.
  6. Under API Scopes, select the scopes you chose in Choose API scopes.
  7. Select Add Service Account.
  8. 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
Copy link

SIEM builds the Wiz API address from your Tenant Data Center value.

To find your Tenant Data Center:

  1. From the Wiz console, select User Settings > Tenant.
  2. Copy the Tenant Data Center value, for example us1, us17, or eu3.

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
Copy link

This procedure adds the event source, connects SIEM to Wiz, and sets the data to collect.

To add the Wiz event source:

  1. From Command Home, go to Data Connectors > Data Collectors.
  2. Go to the Event Sources tab, then select Add Event Source.
  3. Do one of the following:
    • Search for Wiz in the event sources search bar.
    • In the Product Type filter, select Cloud Service.
  4. Select the Wiz event source tile.
  5. Name the event source. This name becomes the name of the log that contains the event data in Log Search.
  6. For the collection method, select Expanded Cloud.
  7. Select Add a New Connection.
    1. In the Create a Cloud Connection screen, enter a name for the new connection.

    2. In the Client ID field, enter the Client ID that you obtained in Create a service account in Wiz.

    3. In the Tenant Data Center field, enter the Tenant Data Center value that you obtained in Find your Tenant Data Center.

    4. In the Client Secret field, add a new credential:

      1. Name your credential.
      2. Describe your credential.
      3. Enter the Client Secret that you obtained in Create a service account in Wiz.
      4. Select the other Rapid7 solutions that can use the credential.
    5. Select Save & Test Connection.

      SIEM (InsightIDR) lists each scope, grouped by data type, as granted or not granted. For details, see Connection test results.

  8. (Optional) Select the option to send unparsed data .
  9. Under Resource Collection, select the data to collect. All options are selected by default. For details about each option, see Collected data.
  10. 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
Copy link

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:

  1. From Command Home, go to Data Connectors > Data Collectors.
  2. Go to the Event Sources tab.
  3. Find the Wiz event source and confirm that its status is healthy.
  4. After about 10 minutes, open Log Search and select the Wiz log sets.
  5. If you collect Issues, open Alerts and confirm that alerts from Wiz appear.

Troubleshoot common issues
Copy link

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:

SymptomLikely causeSolution
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
Copy link

SIEM polls Wiz every 5 minutes for each data type you select.

SIEM collects these data types:

Data typeWhat it collectsFirst collection coversWhere it appears in SIEM
IssuesOpen and In Progress Wiz issues of type Threat Detection and Toxic Combination90 daysAlerts, and the Third Party Alerts log set in Log Search
DetectionsWiz runtime threat detections of type Generated Threat90 daysLog Search and Rapid7 AI investigations
Cloud Configuration FindingsOpen Cloud Security Posture Management (CSPM) findings90 daysLog Search
Vulnerability FindingsOpen vulnerability findings across virtual machines, containers, and serverless90 daysLog Search
Audit LogsWiz platform activity, including logins, API calls, and configuration changes24 hoursLog 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
Copy link

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 False result for data you want to collect.
  • Unknown means Wiz didn’t share the scope list for the account, so SIEM couldn’t check the scopes. Confirm the scopes in Wiz.