Block Domain - Zscaler
This playbook blocks domains using Zscaler. The playbook checks whether the Zscaler integration is enabled, whether the Domain input has been provided and if so, blocks the domain.
Zscaler Internet Access · 5 tasks · 1 input · 0 outputs
Details
| ID | Block Domain - Zscaler |
|---|---|
| From Version | 5.5.0 |
| Tasks | 5 |
README
This playbook blocks domains using Zscaler.
The playbook checks whether the Zscaler integration is enabled, whether the Domain input has been provided and if so, blocks the domain.
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
This playbook does not use any sub-playbooks.
Integrations
- Zscaler
Scripts
This playbook does not use any scripts.
Commands
- zscaler-blacklist-url
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| Domain | The Domain to block. | Optional |
Playbook Outputs
There are no outputs for this playbook.
Playbook Image

Inputs
Domain— The Domain to block.
Commands used
zscaler-blacklist-url
Flowchart
id: Block Domain - Zscaler version: -1 name: Block Domain - Zscaler description: |- This playbook blocks domains using Zscaler. The playbook checks whether the Zscaler integration is enabled, whether the Domain input has been provided and if so, blocks the domain. starttaskid: "0" tasks: "0": id: "0" taskid: b124cfe7-a56f-4490-880b-78cf3274b99b type: start task: id: b124cfe7-a56f-4490-880b-78cf3274b99b version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "5" separatecontext: false view: |- { "position": { "x": 450, "y": -70 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "2": id: "2" taskid: 566639bd-4b4b-47c5-81f5-1665ec447c34 type: condition task: id: 566639bd-4b4b-47c5-81f5-1665ec447c34 version: -1 name: Is Zscaler enabled? description: Verify that there is a valid instance of Check Point Firewall enabled. type: condition iscommand: false brand: "" nexttasks: '#default#': - "4" "yes": - "3" separatecontext: false conditions: - label: "yes" condition: - - operator: isExists left: value: complex: root: modules filters: - - operator: isEqualString left: value: simple: modules.brand iscontext: true right: value: simple: Zscaler ignorecase: true - - operator: isEqualString left: value: simple: modules.state iscontext: true right: value: simple: Active ignorecase: true accessor: brand iscontext: true ignorecase: true view: |- { "position": { "x": 700, "y": 230 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "3": id: "3" taskid: 29429f18-564b-4d05-8c78-eaaee9e7a41c type: regular task: id: 29429f18-564b-4d05-8c78-eaaee9e7a41c version: -1 name: Block Domain description: Adds the specified URLs to the block list. script: '|||zscaler-blacklist-url' type: regular iscommand: true brand: "" nexttasks: '#none#': - "4" scriptarguments: url: complex: root: inputs.Domain separatecontext: false view: |- { "position": { "x": 890, "y": 400 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "4": id: "4" taskid: 897a00db-2a04-48d5-8630-e55b5443f0b9 type: title task: id: 897a00db-2a04-48d5-8630-e55b5443f0b9 version: -1 name: Done type: title iscommand: false brand: "" description: '' separatecontext: false view: |- { "position": { "x": 450, "y": 570 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "5": id: "5" taskid: cfdef7e9-5188-4715-8a20-4cf22f75f1ee type: condition task: id: cfdef7e9-5188-4715-8a20-4cf22f75f1ee version: -1 name: Check if Domain input was provided description: Check whether the necessary inputs were provided type: condition iscommand: false brand: "" nexttasks: '#default#': - "4" "yes": - "2" separatecontext: false conditions: - label: "yes" condition: - - operator: isNotEmpty left: value: complex: root: inputs.Domain iscontext: true view: |- { "position": { "x": 450, "y": 60 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 view: |- { "linkLabelsPosition": { "2_3_yes": 0.53, "2_4_#default#": 0.47, "5_2_yes": 0.71, "5_4_#default#": 0.53 }, "paper": { "dimensions": { "height": 705, "width": 820, "x": 450, "y": -70 } } } inputs: - key: Domain value: {} required: false description: The Domain to block. playbookInputQuery: outputs: [] tests: - No tests (auto formatted) fromversion: 5.5.0