Zscaler OAuth2 Lookup URL

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Content Index


This playbook looks up URL categorization information from Zscaler using OAuth2 authentication.

Attribute Value
Type Playbook
Solution Zscaler Internet Access
Source View on GitHub

Logic App Connectors

This playbook uses 3 Logic App connectors / built-in actions:

Connector / Action Type Connections Actions
azuresentinel Managed 1 1
http Built-in 0 1
workflow Built-in 0 1
Action parameters (URLs, paths, function IDs)

azuresentinel (Managed)

Action Method Endpoint Other
Entities_-_Get_URLs post /entities/url

http (Built-in)

Action Method Endpoint Other
HTTP_Lookup_URL POST https://api.zsapi.net/zia/api/v1/urlLookup

workflow (Built-in)

Action Method Endpoint Other
zscaler workflowId=[variables('ZscalerAuthenticationFlow')]
triggerName=manual

Additional Documentation

📄 Source: Oauth2LookupURL/readme.md

This playbook enables automated URL classification lookup in Zscaler Internet Access (ZIA) when triggered by Microsoft Sentinel incidents. It uses OAuth2 authentication to securely query the Zscaler API and retrieve URL category information for URLs found in incidents.

Overview

The Zscaler-Oauth2-LookupURL playbook is designed to:

Prerequisites

Before deploying this playbook, ensure you have:

  1. A Zscaler Internet Access (ZIA) subscription with API access enabled
  2. The Zscaler-Oauth2-Authentication playbook deployed in the same resource group
  3. OAuth2 client credentials (Client ID and Client Secret) configured in Azure Key Vault
  4. Appropriate permissions to deploy Azure Logic Apps

Deployment

Click the button below to deploy the Zscaler-Oauth2-LookupURL playbook to your Azure environment:

Deploy to Azure

Post-Deployment Configuration

After deployment, complete the following steps:

  1. Authorize API Connections

    • Navigate to the Logic App in the Azure portal
    • Go to API connections and authorize the Microsoft Sentinel connection
    • Ensure the managed identity has appropriate permissions
  2. Grant Required Permissions

    • Assign the Logic App managed identity the "Microsoft Sentinel Responder" role on your workspace
    • Verify the Zscaler-Oauth2-Authentication playbook is deployed and accessible
  3. Configure Zscaler API URL (Optional)

    • The default Base URL is "zsapi.zscaler.net/api/v1"
    • To change, edit the playbook and update the "Initialize_variable" action for BaseURL
  4. Configure Automation Rules

    • Create automation rules in Microsoft Sentinel to trigger this playbook
    • Configure rules to run on incidents containing URL entities

Parameters

Parameter Description Default Value
PlaybookName Name of the Logic App Zscaler-Oauth2-LookupURL

Workflow

  1. Triggered by Microsoft Sentinel incident creation
  2. Extracts URL entities from the incident
  3. Initializes the Zscaler API Base URL variable
  4. Calls the Zscaler-Oauth2-Authentication playbook to obtain an access token
  5. For each URL, queries the Zscaler URL lookup API (/urlLookup)
  6. Parses the response containing:
    • url: The queried URL
    • urlClassifications: Array of URL category classifications
    • urlClassificationsWithSecurityAlert: Security-related classifications
  7. URLs are processed sequentially (concurrency set to 1) for reliable execution

Learn More


Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Playbooks · Back to Zscaler Internet Access