Skip to content

Commit 7bd2c57

Browse files
maxvppedrosousa
andauthored
[Gateway] Tenant control WAF custom header procedure (#20185)
Co-authored-by: Pedro Sousa <[email protected]>
1 parent 491ac0a commit 7bd2c57

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,22 @@ For more information, refer to the [Slack documentation](https://slack.com/help/
8787

8888
For more information, refer to the [Dropbox documentation](https://help.dropbox.com/security/network-control).
8989

90+
## Exempt users in Cloudflare WAF
91+
92+
You can include custom headers in an HTTP policy to allow your users through [Cloudflare WAF](/waf/). This is useful for allowing only WARP users through your WAF.
93+
94+
1. Create an Allow policy for an internal domain behind your WAF with a custom header.
95+
96+
| Selector | Operator | Value | Action |
97+
| -------- | -------- | ----------------- | ------ |
98+
| Domain | in | `internalapp.com` | Allow |
99+
100+
| Custom header name | Custom header value |
101+
| ------------------ | ------------------- |
102+
| `X-Example-Header` | `example-value` |
103+
104+
2. In Cloudflare WAF, [create a custom rule](/waf/custom-rules/) to [require the same HTTP header](/waf/custom-rules/use-cases/require-specific-headers/#example-2-require-http-header-with-a-specific-value).
105+
90106
## Use tenant control with Browser Isolation
91107

92108
You can configure [Browser Isolation](/cloudflare-one/policies/browser-isolation/) to send custom headers. This is useful for implementing tenant control for isolated SaaS applications or sending arbitrary custom request headers to isolated websites.

0 commit comments

Comments
 (0)