Skip to content

Commit 549283d

Browse files
committed
Add new selectors
1 parent 1c48075 commit 549283d

File tree

7 files changed

+24
-10
lines changed

7 files changed

+24
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Gateway matches DNS queries against the following selectors, or criteria:
284284

285285
### Application
286286

287-
<Render file="gateway/selectors/application" params={{ one: "DNS" }} />
287+
<Render file="gateway/selectors/application" params={{ policyType: "DNS" }} />
288288

289289
### Authoritative Nameserver IP
290290

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ Choose one of the following options for your egress policy:
5555

5656
Gateway matches egress traffic against the following selectors, or criteria:
5757

58+
### Application
59+
60+
<Render
61+
file="gateway/selectors/application"
62+
params={{ policyType: "egress" }}
63+
/>
64+
5865
### Destination Continent
5966

6067
<Render
@@ -81,6 +88,14 @@ Gateway matches egress traffic against the following selectors, or criteria:
8188

8289
<Render file="gateway/selectors/device-posture" />
8390

91+
### Domain
92+
93+
<Render file="gateway/selectors/domain" />
94+
95+
### Host
96+
97+
<Render file="gateway/selectors/host" />
98+
8499
### Protocol
85100

86101
<Render file="gateway/selectors/protocol" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ Gateway matches HTTP traffic against the following selectors, or criteria:
395395

396396
### Application
397397

398-
<Render file="gateway/selectors/application" params={{ one: "HTTP" }} />
398+
<Render file="gateway/selectors/application" params={{ policyType: "HTTP" }} />
399399

400400
:::caution[Multiple API selectors required for Terraform]
401401
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})`.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,10 @@ Gateway matches network traffic against the following selectors, or criteria.
248248

249249
### Application
250250

251-
<Render file="gateway/selectors/application" params={{ one: "network" }} />
251+
<Render
252+
file="gateway/selectors/application"
253+
params={{ policyType: "network" }}
254+
/>
252255

253256
### Content Categories
254257

src/content/partials/cloudflare-one/gateway/selectors/application.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
inputParameters: param1
3-
2+
params:
3+
- policyType
44
---
55

6-
import { Markdown } from "~/components"
7-
8-
You can apply {props.one} policies to a growing list of popular web applications. Refer to [Application and app types](/cloudflare-one/policies/gateway/application-app-types/) for more information.
6+
You can apply {props.policyType} policies to a growing list of popular web applications. Refer to [Application and app types](/cloudflare-one/policies/gateway/application-app-types/) for more information.
97

108
| UI name | API example | Evaluation phase |
119
| ----------- | -------------------------- | --------------------- |

src/content/partials/cloudflare-one/gateway/selectors/domain.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
{}
3-
43
---
54

65
Use this selector to match against a domain and all subdomains. For example, you can match `example.com` and its subdomains, such as `www.example.com`.

src/content/partials/cloudflare-one/gateway/selectors/host.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
{}
3-
43
---
54

65
Use this selector to match against only the hostname specified. For example, you can match `test.example.com` but not `example.com` or `www.test.example.com`.

0 commit comments

Comments
 (0)