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
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 4 additions & 0 deletions src/content/release-notes/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand Down
Loading