Upload and use a list of objects
You can upload and manage lists of objects to use in Gateway rules. These lists can include:
You can then use these lists in Gateway policies to block, allow, isolate or exclude from decryption.
🗺️ This walkthrough covers how to:
- Upload a CSV of hostnames into a list
- Manage the list in the Zero Trust dashboard
- Use the list in a Gateway policy
⏲️ Time to complete:
Upload a CSV
You can manually create a list or upload a CSV to Cloudflare Zero Trust.
Click Upload CSV to add a CSV.
Name the list and choose its type. A list can only include objects of the same type. You can add an optional comment. Next, click select a file and then Create.
The list will begin to upload and confirm if successful.
The next page will present the items uploaded through the CSV. You can edit or remove individual items. You can also return to this page if you want to make edits, additions, or removals in the future.
Click Save to proceed.
Use a list
You can now use the list in the Cloudflare gateway rule builder. This example uses a hostname list, so the selector is
in list and select the specific list from the drop down.
You can now modify the rule precedence of the list-based rule in the UI by dragging and dropping the row.