Skip to content

Commit 4bb0b15

Browse files
warnessamaxvp
andauthored
Create 2025-09-26-body-phase-selector.mdx (cloudflare#25472)
Co-authored-by: Max Phillips <[email protected]>
1 parent 5c1db82 commit 4bb0b15

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: "Refine DLP Scans with New Body Phase Selector"
3+
description: Gain more control over your DLP detections and reduce false positives by specifying whether to scan the HTTP request or response body.
4+
products:
5+
- gateway
6+
date: 2025-09-25
7+
---
8+
9+
You can now more precisely control your HTTP DLP policies by specifying whether to scan the request or response body, helping to reduce false positives and target specific data flows.
10+
11+
In the Gateway HTTP policy builder, you will find a new optional selector called _Body Phase_. This allows you to define the direction of traffic the DLP engine will inspect:
12+
13+
- _Request Body_: Scans data sent from a user's machine to an upstream service. This is ideal for monitoring data uploads, form submissions, or other user-initiated data exfiltration attempts.
14+
- _Response Body_: Scans data sent to a user's machine from an upstream service. Use this to inspect file downloads and website content for sensitive data.
15+
16+
For example, consider a policy that blocks Social Security Numbers (SSNs). Previously, this policy might trigger when a user visits a website that contains example SSNs in its content (the response body). Now, by setting the **Body Phase** to _Request Body_, the policy will only trigger if the user attempts to upload or submit an SSN, ignoring the content of the web page itself.
17+
18+
All policies without this selector will continue to scan both request and response bodies to ensure continued protection.
19+
20+
For more information, refer to [Gateway HTTP policy selectors](/cloudflare-one/policies/gateway/http-policies/#selectors/).

0 commit comments

Comments
 (0)