Torq enables quick and easy integration with Zscaler Internet Access, so you can automate anything and everything within moments. Torq's public Zscaler Internet Access steps include:
Create session
List Blacklisted URLs
Add URLs to Blacklist
Create URL Filtering Policy Rule
+30 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.
Use Zscaler Internet Access to trigger workflows in Torq
Step One: Create a Zscaler Internet Access trigger integration in Torq
Navigate to integration: Go to Build > Integrations > Triggers > Zscaler Internet Access and click Add.
Fill in the details:
Give the integration a unique and meaningful name.
Under Authentication Headers, click Add.
Set the name of the Authentication header to
Authorization.In the Secret field, enter the word
Bearerfollowed by a space, and then type in your secret (for example,Bearer MySecret1!). This is the secret you will use in Zscaler.
Finalize: Click Add.
Step Two: Add the webhook in Zscaler Internet Access
Log In: Log in to your Zscaler Internet Access profile.
Navigate to Webhooks: Go to Alert > Webhooks and click Add Webhook.
Fill in the details:
Name: Give the webhook a meaningful name.
Status: By default, the field is Enabled. To disable the webhook at any time, toggle Status to Disabled.
URL: Paste the webhook URL (Torq endpoint) that you created in step one.
Authentication Type: Choose Token, and then enter the secret you used in Torq in step one (for example,
MySecret1!).
Test webhook: Click Test Webhook to verify the configuration.
Finalize: Click Save.
Now that you've successfully created a Zscaler Internet Access trigger, you can build your first Zscaler Internet Access-initiated workflow!
In Torq, go to Build > Workflows > Create a Workflow > New Blank Workflow, and select the trigger type: Integrations > Zscaler Internet Access. Find your new trigger, and automate away!
Use Zscaler Internet Access steps in Torq
Step One: Get your Zscaler Internet Access API key
Navigate to API key: Go to Administration > Authentication Configuration > Authentication Settings > Cloud Service API Security.
Copy the Key: Copy the API key to use in Torq.
The API key is tenant-wide and not tied to a specific user account. If it is regenerated in Zscaler, update it in every Torq integration instance that references it.
Step Two: Create a Zscaler Internet Access steps integration in Torq
Navigate to Integration: Go to Build > Integrations > Steps > Zscaler Internet Access and click Add.
Fill in the Details: Give the integration instance a unique and meaningful name.
In the Zscaler Internet Access API Key field, paste the API key that you copied previously in step one.
In the Zscaler Internet Access Username field, enter your Zscaler Internet Access account username.
In the Zscaler Internet Access Password field, enter your Zscaler Internet Access account password.
The account used for this integration must be a ZIA administrator with local login enabled. Federated accounts (SSO or SAML) cannot authenticate unless the Zscaler admin profile also permits local login. Confirm this before entering credentials.
In the Zscaler Internet Access Cloud Name field, enter the domain from the Zscaler Internet Access Console URL including the top-level domain. For example if the URL for your Zscaler Internet Access Console is
https://admin.zscalertwo.net, then your Zscaler Cloud Name iszscalertwo.net.
Finalize: Click Add.
The Create Session step may fail with
Create session request return non 2XX status codeorResponse status code: 401. This happens when a new Zscaler administrator account has not completed its first interactive login to the admin console. New accounts often require setting or changing a password on that first login. After completing the first login to the Zscaler admin console, use the same password in the Torq integration.
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.






