Skip to content

Commit e8f112e

Browse files
alyssamwpedrosousa
andauthored
[ZT] Fix gateway policy logical operators doc (#29808)
* Fix gateway policy logical operators doc * Add `not` operator --------- Co-authored-by: Pedro Sousa <680496+pedrosousa@users.noreply.github.com>
1 parent 0f374e6 commit e8f112e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/content/docs/cloudflare-one/traffic-policies/expression-syntax.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ Combine multiple conditions using logical operators:
6161
| -------- | ----------- | --------------------------------------------------------------------- |
6262
| `and` | Logical AND | `dns.fqdn == "example.com" and identity.email == "admin@company.com"` |
6363
| `or` | Logical OR | `net.dst.port == 80 or net.dst.port == 443` |
64-
65-
You can also use symbols instead of words:
66-
67-
- `&&` instead of `and`
68-
- `||` instead of `or`
64+
| `not` | Logical NOT | `not(identity.email == "guest@company.com")` |
6965

7066
## Array handling
7167

0 commit comments

Comments
 (0)