diff --git a/src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx b/src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx index 15054787bac49a..300981c4b23c6f 100644 --- a/src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx +++ b/src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx @@ -464,6 +464,18 @@ Use this selector to match against a domain and all subdomains -- for example, i | ------- | -------------------------------------------- | | Domain | `any(http.conn.domains[*] == "example.com")` | +### Download and Upload File Size + +Use these selectors to limit the file size of upload or download transactions. File sizes are measured in mebibytes (MiB). + +| UI name | API example | +| ------------------------ | ------------------------------- | +| Download File Size (MiB) | `http.download.file.size >= 10` | + +| UI name | API example | +| ---------------------- | ---------------------------- | +| Upload File Size (MiB) | `http.upload.file.size < 10` | + ### Download and Upload File Types :::caution[Deprecated selectors] diff --git a/src/content/release-notes/gateway.yaml b/src/content/release-notes/gateway.yaml index fc1f8c45e99de1..30b41c3723441d 100644 --- a/src/content/release-notes/gateway.yaml +++ b/src/content/release-notes/gateway.yaml @@ -5,6 +5,10 @@ productLink: "/cloudflare-one/policies/gateway/" productArea: Cloudflare One productAreaLink: /cloudflare-one/changelog/ entries: + - publish_date: "2025-02-12" + title: The default global Cloudflare root certificate expired on 2025-02-02 at 16:05 UTC + description: |- + Gateway and DLP users can now create HTTP policies with the [Upload/Download File Size (MiB)](/cloudflare-one/policies/gateway/http-policies/#download-and-upload-file-size) traffic selectors. This update allows users to block uploads or downloads based on file size. - publish_date: "2025-02-02" title: The default global Cloudflare root certificate expired on 2025-02-02 at 16:05 UTC description: |-