Skip to content

Commit 878c6a3

Browse files
committed
Add selectors to HTTP policies
1 parent 00c6a4e commit 878c6a3

File tree

2 files changed

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

2 files changed

+8
-14
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,14 +397,20 @@ Policies created using the URL selector are case-sensitive.
397397

398398
Gateway matches HTTP traffic against the following selectors, or criteria:
399399

400+
### All Access Private App Destinations
401+
402+
<Render file="gateway/selectors/all-access-private-app-destinations" />
403+
404+
### All Access App Targets
405+
406+
<Render file="gateway/selectors/all-access-app-targets" />
407+
400408
### Application
401409

402410
<Render file="gateway/selectors/application" params={{ one: "HTTP" }} />
403411

404412
:::caution[Multiple API selectors required for Terraform]
405-
406413
When using Terraform to create a policy with the [Do Not Inspect](#do-not-inspect) action, you must use the `app.hosts_ids` and `app.supports_ids` selectors. For example, to create a Do Not Inspect policy for Google Cloud Platform traffic, create a policy with both `any(app.hosts_ids[*] in {1245})` and `any(app.supports_ids[*] in {1245})`.
407-
408414
:::
409415

410416
### Content Categories

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -232,22 +232,10 @@ Gateway matches network traffic against the following selectors, or criteria.
232232

233233
### All Access Private App Destinations
234234

235-
All destination IPs and hostnames associated with an [Access self-hosted private application](/cloudflare-one/applications/non-http/self-hosted-private-app/#modify-order-of-precedence-in-gateway).
236-
237-
| UI name | API example |
238-
| ----------------------------------- | -------------------- |
239-
| All Access Private App Destinations | `access.private_app` |
240-
241235
<Render file="gateway/selectors/all-access-private-app-destinations" />
242236

243237
### All Access App Targets
244238

245-
All destination IPs and hostnames associated with an [Access Infrastructure application](/cloudflare-one/applications/non-http/infrastructure-apps/#modify-order-of-precedence-in-gateway).
246-
247-
| UI name | API example |
248-
| ---------------------- | --------------- |
249-
| All Access App Targets | `access.target` |
250-
251239
<Render file="gateway/selectors/all-access-app-targets" />
252240

253241
### Application

0 commit comments

Comments
 (0)