diff --git a/public/cloudflare-one/static/list-test.csv b/public/cloudflare-one/static/list-test.csv index 0c976b5cde3f877..52d09011a5038e2 100644 --- a/public/cloudflare-one/static/list-test.csv +++ b/public/cloudflare-one/static/list-test.csv @@ -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 diff --git a/src/content/partials/cloudflare-one/gateway/lists.mdx b/src/content/partials/cloudflare-one/gateway/lists.mdx index 0e49c4f5f44da2f..675d41ae077b9d9 100644 --- a/src/content/partials/cloudflare-one/gateway/lists.mdx +++ b/src/content/partials/cloudflare-one/gateway/lists.mdx @@ -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: