PAN-OS - Block URL - Custom URL Category

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.

Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks

  • PAN-OS Commit Configuration

Integrations

This playbook does not use any integrations.

Scripts

This playbook does not use any scripts.

Commands

  • panorama-edit-custom-url-category
  • panorama-custom-block-rule
  • panorama-get-custom-url-category
  • panorama-create-custom-url-category

Playbook Inputs


NameDescriptionDefault ValueSourceRequired
URLThe URL to block.DataURLOptional
CustomURLCategoryThe custom URL category name.Demisto Remediation - Malicious URLs-Optional
LogForwardingThe panorama log forwarding object name.--Optional
AutoCommitWhether to commit the configuration automatically. "Yes" will commit automatically. "No" will commit manually.No-Optional
typeThe custom URL category type. Insert "URL List"/ "Category Match".--Optional
device-groupThe device group for the custom URL category (Panorama instances).--Optional
categoriesThe list of categories. Relevant from PAN-OS v9.x.--Optional
pre-postSpecify pre-rulebase or post-rulebase. (Panorama instances).pre-rulebase-Optional

Playbook Outputs


There are no outputs for this playbook.

Playbook Image


PAN-OS_Block_URL_Custom_URL_Category