Skip to content

Commit 8aa1ee3

Browse files
committed
Improve context fields
1 parent 71b01b7 commit 8aa1ee3

File tree

1 file changed

+14
-14
lines changed
  • src/content/docs/cloudflare-one/policies/gateway/http-policies

1 file changed

+14
-14
lines changed

src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -214,23 +214,23 @@ The Redirect action allows you to redirect matched HTTP requests to a different
214214

215215
In **Policy URL redirect**, you can define what URL to redirect matched requests to.
216216

217-
When you turn on **Send policy context**, Gateway will append the details of the matching HTTP request to the redirected URL as a query string. Full list of fields:
217+
When you turn on **Send policy context**, Gateway will append the details of the matching HTTP request to the redirected URL as a query string. Policy context fields include:
218218

219219
<Details header="Policy context fields">
220220

221-
| Field name | Field meaning | Example |
222-
| ------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ----------------------------------------------------- |
223-
| User email | The email of the user that made the query | `&user_email=mickey.mouse@gmail.com` |
224-
| Site URL | The URI of the original request. | `&site_uri=https%3A%2F%2Fmalware.testcategory.com%2F` |
225-
| URL Category | The list of categories of the domain/URL that was blocked | `&request_categories=Personal%20Blocks,Military` |
226-
| Original HTTP Referrer They are looking for the HTTP referrer of the original request | The HTTP referer header, if any | `&referer=https%3A%2F%2Fexample.com%2F` |
227-
| Rule ID | The id of the rule that blocked the request, if any | `&rule_id=6d48997c-a1ec-4b16-b42e-d43ab4d071d1` |
228-
| Source IP | The IP that triggered the block | `&source_ip=40.41.44.5` |
229-
| Device ID | The ID of the device that triggered the block, if any | `&device_id=6d48997c-a1ec-4b16-b42e-d43ab4d071d1` |
230-
| Application name | The name of the application this domain corresponds to, if any | `&application_name=Azure%20AD` |
231-
| Account ID | The account tag | `&account_id=d57c3de47a013c03ca7e237dd3e61d7d` |
232-
| Connection Id | The ID of the connection for which this block took effect | `&connection_id=ddcd6361-d5e5-4fdd-9bb3-c3a2de286860` |
233-
| Request Id | The ID of the request for which this block took effect | `&request_id=ddcd6361-d5e5-4fdd-9bb3-c3a2de286860` |
221+
| Field | Definition | Example |
222+
| ------------------------------------ | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
223+
| User email | The email of the user that made the query | `&user_email=user@example.com` |
224+
| Site URL | The URI of the original request. | `&site_uri=https%3A%2F%2Fmalware.testcategory.com%2F` |
225+
| URL category | The [domain categories](/cloudflare-one/policies/gateway/domain-categories/) of the URL that was blocked | `&request_categories=New%20Domains,Newly%20Seen%20Domains` |
226+
| Original HTTP referer of the request | The HTTP referer header, if any | `&referer=https%3A%2F%2Fexample.com%2F` |
227+
| Rule ID | The id of the rule that blocked the request, if any | `&rule_id=6d48997c-a1ec-4b16-b42e-d43ab4d071d1` |
228+
| Source IP address | The IP that triggered the block | `&source_ip=203.0.113.5` |
229+
| Device ID | The ID of the device that triggered the block, if any | `&device_id=6d48997c-a1ec-4b16-b42e-d43ab4d071d1` |
230+
| Application name | The name of the application this domain corresponds to, if any | `&application_name=Salesforce` |
231+
| Account ID | The account tag | `&account_id=d57c3de47a013c03ca7e237dd3e61d7d` |
232+
| Connection ID | The ID of the connection for which this block took effect | `&connection_id=ddcd6361-d5e5-4fdd-9bb3-c3a2de286860` |
233+
| Request ID | The ID of the request for which this block took effect | `&request_id=ddcd6361-d5e5-4fdd-9bb3-c3a2de286860` |
234234

235235
</Details>
236236

0 commit comments

Comments
 (0)