-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gateway] Network policies content categories (#18436)
- Loading branch information
Showing
16 changed files
with
93 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/content/partials/cloudflare-one/gateway/policies/content-categories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 13 additions & 12 deletions
25
src/content/partials/cloudflare-one/gateway/selectors/destination-continent.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
--- | ||
inputParameters: param1 | ||
|
||
--- | ||
|
||
import { Markdown } from "~/components" | ||
import { Markdown } from "~/components"; | ||
|
||
The continent where the request is destined. Geolocation is determined from the target IP address. To specify a continent, enter its two-letter code into the **Value** field: | ||
|
||
* AF – Africa | ||
* AN – Antarctica | ||
* AS – Asia | ||
* EU – Europe | ||
* NA – North America | ||
* OC – Oceania | ||
* SA – South America | ||
* T1 – Tor network | ||
| Continent | Code | | ||
| ------------- | ---- | | ||
| Africa | `AF` | | ||
| Antarctica | `AN` | | ||
| Asia | `AS` | | ||
| Europe | `EU` | | ||
| North America | `NA` | | ||
| Oceania | `OC` | | ||
| South America | `SA` | | ||
| Tor network | `T1` | | ||
|
||
| UI name | API example | | ||
| ------------------------------------ | -------------------------- | | ||
| UI name | API example | | ||
| ------------------------------------ | ---------------------------------------------- | | ||
| Destination Continent IP Geolocation | <code>{props.one}.geo.continent == "EU"</code> | |
3 changes: 1 addition & 2 deletions
3
src/content/partials/cloudflare-one/gateway/selectors/destination-port.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
.../gateway/selectors/content-categories.mdx → ...eway/selectors/dns-content-categories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ntent/partials/cloudflare-one/gateway/selectors/net-http-content-categories.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
params: | ||
- APIendpoint | ||
--- | ||
|
||
import { Markdown } from "~/components"; | ||
|
||
| UI name | API example | | ||
| ------------------ | ------------------------------------------------------ | | ||
| Content Categories | <code>not(any({props.APIendpoint}[*] in \{1\}))</code> | | ||
|
||
For more information, refer to the list of [content categories](/cloudflare-one/policies/gateway/domain-categories/#content-categories). |
12 changes: 12 additions & 0 deletions
12
src/content/partials/cloudflare-one/gateway/selectors/security-risks.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
params: | ||
- APIendpoint | ||
--- | ||
|
||
import { Markdown } from "~/components"; | ||
|
||
| UI name | API example | | ||
| -------------- | ------------------------------------------------- | | ||
| Security Risks | <code>any({props.APIendpoint}[*] in \{1\})</code> | | ||
|
||
For more information, refer to the list of [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/content/partials/cloudflare-one/tunnel/virtual-networks-intro.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
{} | ||
|
||
--- | ||
|
||
Virtual networks allow you to connect private networks that have overlapping IP ranges without creating conflicts for users or services. For example, an organization may want to expose two distinct virtual private cloud (VPC) networks which they consider to be “production” and “staging”. However, if the two private networks happened to receive the same RFC 1918 IP assignment, there may be two different resources with the same IP address. By creating two separate virtual networks, you can deterministically route traffic to duplicative private addresses like `10.128.0.1/32` staging and `10.128.0.1/32` production. These virtual networks will appear as user-selectable options within the WARP client GUI. | ||
Virtual networks allow you to connect private networks that have overlapping IP ranges without creating conflicts for users or services. For example, an organization may want to expose two distinct virtual private cloud (VPC) networks which they consider to be "production" and "staging". However, if the two private networks happened to receive the same RFC 1918 IP assignment, there may be two different resources with the same IP address. By creating two separate virtual networks, you can deterministically route traffic to duplicative private addresses like `10.128.0.1/32` staging and `10.128.0.1/32` production. These virtual networks will appear as user-selectable options within the WARP client GUI. |