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 several URL lists using a .json file, see Bulk Import Firewall Policy Components.

Important

Some names are reserved by Palo Alto Networks® and can't be used.
    1. On the navigation menu, select Identity & Security. Go to Firewalls, select Network Firewall Policies.
    2. Select the policy.
    3. Under Policy resources, select URL lists.
    4. Select Create URL list.
    5. Enter a name.
    6. Enter a maximum of 1,000 URLs, one on each line.
    7. Select 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.