diff --git a/docs/features.md b/docs/features.md index 52f92463..9667e5a4 100644 --- a/docs/features.md +++ b/docs/features.md @@ -797,10 +797,8 @@ spec: authorization: "allowed-endpoints": when: - - predicate: request.path != '/hi' - - predicate: request.path != '/hello' - - predicate: request.path != '/aloha' - - predicate: request.path != '/ciao' + - predicate: | + !(request.path in ['/hi', '/hello', '/aloha', '/ciao']) patternMatching: patterns: - pattern: "true"