-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Gateway] DNS common policy API examples #18903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
35997dd
Remove unnecessary partial
maxvp 0220c19
Fix DNS formatting
maxvp 5bef21b
Add lists example
maxvp d762203
Add block unauthorized applications
maxvp c27865b
Add get list partial
maxvp 5a2b5b9
Remove get-list partial
maxvp 849e81f
Add CIPA filter
maxvp df03757
Remove device posture for DNS policies
maxvp 0cc6b8a
Add check user identity policy
maxvp 6f7d2ab
Add force IP version policies
maxvp 8e13808
Remove unnecessary commas
maxvp f05950e
Apply suggestions from code review
maxvp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
544 changes: 521 additions & 23 deletions
544
src/content/docs/cloudflare-one/policies/gateway/dns-policies/common-policies.mdx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
16 changes: 4 additions & 12 deletions
16
src/content/partials/cloudflare-one/gateway/policies/block-applications.mdx
This file contains hidden or 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,19 +1,11 @@ | ||
| --- | ||
| {} | ||
|
|
||
| --- | ||
|
|
||
| import { GlossaryTooltip } from "~/components" | ||
|
|
||
| ## Block unauthorized applications | ||
|
|
||
| To minimize the risk of <GlossaryTooltip term="shadow IT" link="https://www.cloudflare.com/learning/access-management/what-is-shadow-it/">shadow IT</GlossaryTooltip>, some organizations choose to limit their users' access to certain web-based tools and applications. For example, the following policy blocks AI assistants: | ||
|
|
||
| | Selector | Operator | Value | Action | | ||
| | ----------- | -------- | ----------------------------------------------- | ------ | | ||
| | Application | in | *Microsoft Copilot*, *ChatGPT*, *Google Gemini* | Block | | ||
| import { GlossaryTooltip, Tabs, TabItem } from "~/components"; | ||
|
|
||
| :::note | ||
|
|
||
| After seven days, view your [shadow IT analytics](/cloudflare-one/insights/analytics/access/) and block additional applications based on what your users are accessing. | ||
| After seven days, view your [shadow IT analytics](/cloudflare-one/insights/analytics/access/) and block additional applications based on what your users are accessing. | ||
| ::: | ||
|
|
||
| To minimize the risk of <GlossaryTooltip term="shadow IT" link="https://www.cloudflare.com/learning/access-management/what-is-shadow-it/">shadow IT</GlossaryTooltip>, some organizations choose to limit their users' access to certain web-based tools and applications. For example, the following policy blocks known AI tools: |
3 changes: 1 addition & 2 deletions
3
src/content/partials/cloudflare-one/gateway/policies/block-security-categories.mdx
This file contains hidden or 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,8 +1,7 @@ | ||
| --- | ||
| {} | ||
|
|
||
| --- | ||
|
|
||
| | Selector | Operator | Value | Action | | ||
| | ------------------- | -------- | -------------------- | ------ | | ||
| | Security Categories | in | *All security risks* | Block | | ||
| | Security Categories | in | _All security risks_ | Block | |
5 changes: 5 additions & 0 deletions
5
src/content/partials/cloudflare-one/gateway/policies/check-user-identity.mdx
This file contains hidden or 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,5 @@ | ||
| --- | ||
| {} | ||
| --- | ||
|
|
||
| Configure access on a per user or group basis by adding [identity-based conditions](/cloudflare-one/policies/gateway/identity-selectors/) to your policies. |
13 changes: 0 additions & 13 deletions
13
src/content/partials/cloudflare-one/gateway/policies/policies-optional.mdx
This file was deleted.
Oops, something went wrong.
86 changes: 0 additions & 86 deletions
86
src/content/partials/cloudflare-one/gateway/policies/recommended-dns-policies.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.