Skip to content

Commit 29cc080

Browse files
committed
Decouple blocklist policy
1 parent 5e77ecc commit 29cc080

File tree

3 files changed

+42
-12
lines changed

3 files changed

+42
-12
lines changed

src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies/recommended-dns-policies.mdx

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,38 @@ resource "cloudflare_zero_trust_gateway_policy" "dns_resolvedip_blocklist_rule"
429429

430430
<Details header="All-DNS-DomainHost-Blocklist">
431431

432-
<Render file="zero-trust/blocklist-domain-host" params={{ one: "DNS" }} />
432+
<Render
433+
file="zero-trust/blocklist-domain-host"
434+
params={{ blocklistPolicyType: "DNS" }}
435+
/>
436+
437+
<Tabs syncKey="dashPlusAPI">
438+
439+
<TabItem label="Dashboard">
440+
441+
| Selector | Operator | Value | Logic | Action |
442+
| -------- | ------------- | ------------------ | ----- | ------ |
443+
| Domain | in list | _Domain Blocklist_ | Or | Block |
444+
| Host | in list | _Host Blocklist_ | Or | |
445+
| Host | matches regex | `.*example\.com` | | |
446+
447+
</TabItem>
448+
449+
<TabItem label="API">
450+
451+
```sh
452+
453+
```
454+
455+
</TabItem>
456+
457+
<TabItem label="Terraform">
458+
459+
```tf
460+
461+
```
462+
463+
</TabItem>
464+
</Tabs>
433465

434466
</Details>

src/content/docs/learning-paths/secure-internet-traffic/build-http-policies/recommended-http-policies.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ Bypass HTTP inspection for a custom list of domains identified as incompatible w
7070

7171
<Render file="zero-trust/blocklist-domain-host" params={{ one: "HTTP" }} />
7272

73+
| Selector | Operator | Value | Logic | Action |
74+
| -------- | ------------- | ------------------ | ----- | ------ |
75+
| Domain | in list | _Domain Blocklist_ | Or | Block |
76+
| Host | in list | _Host Blocklist_ | Or | |
77+
| Host | matches regex | `.*example\.com` | | |
78+
7379
</Details>
7480

7581
<Details header="All-HTTP-Application-Blocklist">
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
---
2-
inputParameters: blocklistPolicyType
3-
2+
params:
3+
- blocklistPolicyType
44
---
55

6-
import { Markdown } from "~/components"
7-
8-
Block specific domains or hosts that are malicious or pose a threat to your organization. Like **All-{props.one}-ResolvedIP-Blocklist**, this blocklist can be updated manually or via API automation.
9-
10-
| Selector | Operator | Value | Logic | Action |
11-
| -------- | ------------- | ------------------ | ----- | ------ |
12-
| Domain | in list | *Domain Blocklist* | Or | Block |
13-
| Host | in list | *Host Blocklist* | Or | |
14-
| Host | matches regex | `.*example\.com` | | |
6+
Block specific domains or hosts that are malicious or pose a threat to your organization. Like **All-{props.blocklistPolicyType}-ResolvedIP-Blocklist**, this blocklist can be updated manually or via API automation.

0 commit comments

Comments
 (0)