Skip to content

Commit dc3ea97

Browse files
committed
Add Security Risks partial
1 parent 43cb1c7 commit dc3ea97

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

src/content/docs/cloudflare-one/policies/gateway/http-policies/index.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,7 @@ Some hostnames (`example.com`) will invisibly redirect to the www subdomain (`ww
566566

567567
### Security Risks
568568

569-
| UI name | API example |
570-
| -------------- | -------------------------------------------- |
571-
| Security Risks | `any(http.conn.security_category[*] in {1})` |
572-
573-
For more information, refer to our list of [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories).
569+
<Render file="gateway/selectors/security-risks" params={{ one: "http.conn" }} />
574570

575571
### Source Continent
576572

src/content/docs/cloudflare-one/policies/gateway/network-policies/index.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,7 @@ To enable Gateway filtering on TCP and UDP, go to **Settings** > **Network** > *
284284

285285
### Security Risks
286286

287-
| UI name | API example |
288-
| -------------- | ------------------------------------------- |
289-
| Security Risks | `any(net.fqdn.security_category[*] in {1})` |
290-
291-
For more information, refer to our list of [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories).
287+
<Render file="gateway/selectors/security-risks" params={{ one: "net.fqdn" }} />
292288

293289
### SNI
294290

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
inputParameters: APIpolicyType
3+
---
4+
5+
import { Markdown } from "~/components";
6+
7+
| UI name | API example |
8+
| -------------- | ----------------------------------------------------------- |
9+
| Security Risks | <code>any({props.one}.security_category[*] in \{1\})</code> |
10+
11+
For more information, refer to the list of [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories).

0 commit comments

Comments
 (0)