Skip to content

Commit e3975b6

Browse files
committed
Fixed typo
1 parent 09414ca commit e3975b6

File tree

1 file changed

+13
-13
lines changed
  • src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ To create a new DNS policy using **cURL**:
3636
--header 'Content-Type: application/json' \
3737
--header "Authorization: Bearer <API_TOKEN>" \
3838
--data '{
39-
"name": "All-DNS-SecurityCategories-Blocklist",
40-
"description": "Block known security risks based on Cloudflare's threat intelligence",
41-
"precedence": 0,
42-
"enabled": false,
43-
"action": "block",
44-
"filters": [
45-
"dns"
46-
],
47-
"traffic": "any(dns.security_category[*] in {68 178 80 83 176 175 117 131 134 151 153})",
48-
"rule_settings": {
49-
"block_page_enabled": true,
50-
"block_reason": "This domain was blocked due to being classified as a security risk to the organisation"
51-
}
39+
"name": "All-DNS-SecurityCategories-Blocklist",
40+
"description": "Block known security risks based on Cloudflare's threat intelligence",
41+
"precedence": 0,
42+
"enabled": false,
43+
"action": "block",
44+
"filters": [
45+
"dns"
46+
],
47+
"traffic": "any(dns.security_category[*] in {68 178 80 83 176 175 117 131 134 151 153})",
48+
"rule_settings": {
49+
"block_page_enabled": true,
50+
"block_reason": "This domain was blocked due to being classified as a security risk to the organisation"
51+
}
5252
}'
5353
```
5454
</TabItem>

0 commit comments

Comments
 (0)