URL Filtering Order
What happens when a URL matches multiple patterns (multiple custom URL filtering categories and allow/block-list) within a URL filtering profile?
- Palo Alto Firewall.
- Any PAN-OS.
- URL Filtering.
When a URL matches multiple categories, the category chosen is the one that has the most severe action defined below (block being most severe and allow least severe).
For example, if *.yahoo.com exists in MyAlertList and MyBlockList simultaneously) within the same URL filtering profile and www.yahoo.com is the URL, the action will be “block” and the category name will be “MyBlockList”. This is similar to the original behavior between “allow-list” and “block-list” in that the block-list will be checked BEFORE the allow-list if a URL matches both “allow-list” and “block-list”.
The priority for URL filtering is:
- block list
- allow list
- custom categories
- pre-defined categories