Create a URL List

Create a list of URLs you can use to build rules in a firewall policy.

Create URL lists to allow or deny traffic to a group of URLs. You can create up to 1,000 URL lists in a policy. Each list can contain a maximum of 1,000 URLs. The total maximum number of URLs allowed in a policy is 25,000. Each URL is entered on its own line within the list. You can use wildcards like asterisks (*) and caret (^) in a URL to customize matching. Don't enter protocol information like "http://" or "https://".

To import multiple URL lists using a .json file, see Bulk Import Firewall Policy Components.

Important

Some names are reserved by Palo Alto Networks®. If you create a policy component with a reserved name, the process fails with an error. See Reserved Names.
    1. On the navigation menu, click Identity & Security. Under Firewalls, click Network Firewall Policies.
    2. Click the policy.
    3. Under Policy resources, click URL lists.
    4. Click Create URL list.
    5. Enter a name for the URL list. Avoid entering confidential information.
    6. Enter a maximum of 1,000 URLs, one on each line.
    7. Click Create URL list.
  • Use the network-firewall url-list create command and required parameters to create a URL list:

    oci network-firewall url-list create 
    --network-firewall-policy-id network firewall policy OCID --compartment-id compartment OCID
    --total-urls integer --urls '["URL_1", "URL_2"]' [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateUrlList operation to create a URL list.