Skip to main content

Wiz

Integrate Wiz with Torq to set up automations for proactive risk management in the cloud.

Wiz is a cloud security company that provides a platform for identifying and addressing security risks in cloud environments.

To create Wiz integrations in Torq, you need a Project Admin, Global Contributor, or Global Admin Role in Wiz.

Torq enables quick and easy integration with Wiz, so you can automate anything and everything within moments. Torq's public Wiz steps include:

  • List Issues

  • List Vulnerability Findings

  • Run GraphQL Query

  • Set Issue Status

  • +6 more...

If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq’s Step Builder, and share it across your organization.

To trigger a Torq workflow based on events sent from Wiz, look here.
​

To use Wiz steps in Torq workflows, look here.

Use Wiz to trigger workflows in Torq

Step One: Create a Wiz trigger integration in Torq

  1. Add the integration: Navigate to Build > Integrations > Triggers > Wiz and click Add Instance. (Note: the Wiz MCP integration is for Wiz MCP steps.)

  2. Configure the integration:

    1. Enter a unique and meaningful name.

    2. Add an authentication header. Two options are available, Bearer Authentication and Basic Authentication:

      • Bearer Authentication (recommended):

        1. Name the header Authorization.

        2. Generate a secret, then copy it and save it for later. This is your token, and you’ll enter it in Wiz in Step Two.

        3. In the Secret field, add Bearer (with a trailing space) before the token. For example, if the generated token is abc12345, the secret must read Bearer abc12345.

        Important: Copy the token before you add Bearer . Wiz needs only the token, without the Bearer prefix.

      • Basic Authentication:

        1. Name the header Authorization.

        2. Write the secret value as Basic <base64_value_of_username:password>.

        3. For example, the Base64 value for the username user@example.com with the password abc123 is dXNlckBleGFtcGxlLmNvbTphYmMxMjM=, so the secret would be Basic dXNlckBleGFtcGxlLmNvbTphYmMxMjM=.

  3. Finalize: Click Add and Copy the generated endpoint. You’ll need this URL in Step Two.

Step Two: Add the integration in Wiz

  1. Open Wiz: Navigate to Settings > Integrations and click Add Integration.

  2. Select the integration: Go to Integrations > SOAR & Automation and click Torq.

  3. Configure the integration:

    1. Name: Enter a unique and meaningful name.

    2. Project Scope: Set the project scope.

    3. URL: Paste the Torq endpoint you copied in Step One.

    4. (Optional) Authentication: If you added an authentication header in Step One:

      • Bearer: Select Token and paste the token you copied in Step One, without Bearer . For example, enter abc12345, not Bearer abc12345.

      • Basic: Select Basic and enter the username and password you used in Torq.

  4. Finalize: Click Add Integration.

Now that you've successfully created a Wiz trigger, you can build your first Wiz–initiated workflow!

In Torq, go to Build > Workflows > Create a Workflow > New Blank Workflow, and select the trigger type: Integrations > Wiz. Find your new trigger, and automate away!

Step Three: Create an automation rule in Wiz

The integration you created in Step Two registers Torq as a destination. Wiz does not send events to Torq until you create an automation rule.

  1. Open Wiz: Click Automation in the left sidebar and click + Create Rule.

  2. Configure the rule:

    1. Name: Enter a unique name.

    2. Description: (Optional) Describe the rule's purpose.

    3. Scope: Select All Projects or Selected Project.

  3. Set the rule conditions:

    1. WHEN: Select the event type and the trigger status.

    2. IF: (Optional) Add filters, such as severity, to limit which events fire the rule.

    3. THEN: Click + Add action. In the Add Action dialog, select Trigger a response with Torq and click Continue. Wiz pre-populates the request body. Click Test to verify the connection.

  4. Verify in Torq:

    Open the workflow with the Wiz trigger. Click the Wiz trigger node, then click the Event Log tab. Confirm the test event appears at the top of the list.

  5. Finalize: Return to Wiz and click Create Rule.

Create a separate automation rule per trigger type. If an event type is unavailable for the Torq integration, use a Webhook integration in Wiz with the same endpoint URL from Step One.

Use Wiz steps in Torq

Step One: Create a service account in Wiz

  1. Open Wiz: Navigate to Settings > Access Management > Service Accounts and click Add Service Account.

  2. Configure the Service Account:

    1. Name: Enter a meaningful name.

    2. Type: Select Custom Integration (GraphQL API)

    3. Projects: Select a Project.

    4. API Scopes: Select the permissions for the account. We recommend giving it the minimal number required to perform its goal.

  3. Finalize: Click Add Service Account, Copy the Client ID and Client Secret to save them for later, and click Finish.

Step Two: Create a Wiz steps integration in Torq

  1. Navigate to the Integration: Go to Build > Integrations > Steps > Wiz and click Add Instance.

  2. Configure the Integration:

    1. Enter a unique and meaningful name.

    2. Paste the Wiz Client ID and Client Secret you copied earlier.

    3. Enter the region of your Wiz tenant.

  3. Finalize: Click Add.

Templates

Now that you've added your integrations, check out these specially crafted templates by Torq's security experts. Visit Torq's template library for more.

Did this answer your question?