PAN-OS - Block URL - Custom URL Category
This playbook blocks URLs using Palo Alto Networks Panorama or Firewall through Custom URL Categories. The playbook checks whether the input URL category already exists, and if the URLs are a part of this category. Otherwise, it will create the category, block the URLs, and commit the configuration.
- Pack
- PAN-OS
- Tasks
- 19
Inputs
- URL — URL to block
- CustomURLCategory — Custom URL Category name
- LogForwarding — Panorama log forwarding object name
- AutoCommit — This input establishes whether to commit the configuration automatically. Yes - Commit automatically. No - Commit manually.
- type — Custom URL category type. Insert "URL List"/ "Category Match".
- device-group — Device group for the Custom URL Category (Panorama instances).
- categories — The list of categories. Relevant from PAN-OS v9.x.
- pre-post — Specify pre-rulebase or post-rulebase. (Panorama instances).
Commands used
- pan-os-create-custom-url-category
- pan-os-custom-block-rule
- pan-os-edit-custom-url-category
- pan-os-get-custom-url-category