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 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

Flowchart

yes yes yes yes yes yes Start Start Is Palo Alto Networks PAN-OS enabled? Is Palo Alto Networks PAN... Is there a URL to block? Is there a URL to block? PAN-OS - Create Custom URL Category - pan-os-create-custom-url-category PAN-OS - Create Custom UR... pan-os-create-custom-url-cate... PAN-OS - Block Malicious URL Category - pan-os-custom-block-rule PAN-OS - Block Malicious ... pan-os-custom-block-rule Done Done PAN-OS - Get Custom URL Category - pan-os-get-custom-url-category PAN-OS - Get Custom URL C... pan-os-get-custom-url-category Malicious URLs already exist in the Custom URL Category? Malicious URLs already ex... Custom URL Category exists? Custom URL Category exists? PAN-OS - Add malicious URLs to Custom URL Category - pan-os-edit-custom-url-category PAN-OS - Add malicious UR... pan-os-edit-custom-url-category PAN-OS Commit Configuration - PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration - PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration AutoCommit defined? AutoCommit defined? Commit PAN-OS Instance manually Commit PAN-OS Instance ma... AutoCommit defined? AutoCommit defined? Commit PAN-OS Instance manually Commit PAN-OS Instance ma... PAN-OS - Block Malicious URL Category - pan-os-custom-block-rule PAN-OS - Block Malicious ... pan-os-custom-block-rule Commit PAN-OS Instance manually Commit PAN-OS Instance ma... PAN-OS Commit Configuration - PAN-OS Commit Configuration PAN-OS Commit Configuration PAN-OS Commit Configuration