File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
src/content/docs/learning-paths/secure-internet-traffic/build-dns-policies Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments