Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook blocks IP addresses in Zscaler by adding them to a category using OAuth2 authentication.
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | Zscaler Internet Access |
| Source | View on GitHub |
This playbook uses 3 Logic App connectors / built-in actions:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
azuresentinel |
Managed | 1 | 2 |
http |
Built-in | 0 | 2 |
workflow |
Built-in | 0 | 1 |
azuresentinel (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Entities_-_Get_IPs | post | /entities/ip |
— |
| Add_comment_to_incident_(V3) | post | /Incidents/Comment |
— |
http (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| HTTP_Add_IP | PUT | https://api.zsapi.net/zia/api/v1/urlCategories/@{variables('Category')}?action=ADD_TO_LIST |
— |
| HTTP_Activate_Changes | POST | https://api.zsapi.net/zia/api/v1/status/activate |
— |
workflow (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| zscaler | — | — | workflowId=[variables('ZscalerAuthenticationFlow')]triggerName= manual |
📄 Source: Oauth2BlockIP/readme.md
This playbook enables automated IP blocking in Zscaler Internet Access (ZIA) when triggered by Microsoft Sentinel incidents. It uses OAuth2 authentication to securely communicate with the Zscaler API and add malicious IP addresses to a designated block category.
The Zscaler-Oauth2-BlockIP playbook is designed to:
Before deploying this playbook, ensure you have:
Click the button below to deploy the Zscaler-Oauth2-BlockIP playbook to your Azure environment:
After deployment, complete the following steps:
Authorize API Connections
Grant Required Permissions
Configure Block Category (Optional)
Configure Zscaler Admin URL (Optional)
Configure Automation Rules
| Parameter | Description | Default Value |
|---|---|---|
| PlaybookName | Name of the Logic App | Zscaler-Oauth2-BlockIP |
| Zscaler OAuth2 Authentication Playbook | Name of the OAuth2 authentication playbook | Zscaler-Oauth2-Authentication |
| Zscaler Admin Url | Your Zscaler admin portal URL | https://admin.zscaler.net |
| Block Category | Zscaler URL category for blocking | OTHER_MISCELLANEOUS |
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊