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.
PAN-OS by Palo Alto Networks · 19 tasks · 8 inputs · 0 outputs
Inputs
URL— URL to blockCustomURLCategory— Custom URL Category nameLogForwarding— Panorama log forwarding object nameAutoCommit— 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