Skip to content

Commit

Permalink
Update website/docs/policies/match-conditions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Vishal Choudhary <[email protected]>
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly and vishal-chdhry authored Jan 3, 2025
1 parent a29121b commit 5d31dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/policies/match-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ spec:
In the policy above, the `matchConditions` will be used to deny all requests having the `x-force-deny` header.

- If an incoming request doesn't have the `x-force-deny` header the condition will return `false` and the policy won't apply
- If an incoming request has the `x-force-deny` header the condition will return `true` and the `deny` rule will deny the request with status code `403`
- If an incoming request has the `x-force-deny` header, then the condition will return `true` and the `deny` rule will deny the request with status code `403`

0 comments on commit 5d31dc4

Please sign in to comment.