Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions public/cloudflare-one/static/list-test.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
https://example.com
https://example1.com
value,description
192.0.2.0/24,This is an IP address range in CIDR format
198.51.100.0/24,This is also an IP address range
203.0.113.0/24,This is the third IP address range
17 changes: 14 additions & 3 deletions src/content/partials/cloudflare-one/gateway/lists.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,21 @@ import { TabItem, Tabs } from "~/components";

## Create a list from a CSV file

Here is a [sample CSV file](/cloudflare-one/static/list-test.csv) of URLs that you can use for testing. When formatting the CSV:
To test uploading CSV lists, you can download a [sample CSV file](/cloudflare-one/static/list-test.csv) of IP address ranges or copy the following into a file:

- Each line should be a single entry.
- Trailing whitespaces are not allowed.
```csv title="list-test.csv"
value,description
192.0.2.0/24,This is an IP address range in CIDR format
198.51.100.0/24,This is also an IP address range
203.0.113.0/24,This is the third IP address range

```

When you format a CSV file for upload:

- Each line should be a single entry that includes a value and an optional description.
- A header row must be present for Zero Trust to recognize descriptions.
- Trailing whitespace characters are not allowed.
- CRLF (Windows) and LF (Unix) line endings are valid.

To upload the list to Zero Trust:
Expand Down
Loading