mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-10 23:03:23 +02:00
ppl: add support for http_path and http_method (#2813)
* ppl: add support for http_path and http_method * fix import ordering
This commit is contained in:
parent
54ec88fb93
commit
2d04106e6d
13 changed files with 257 additions and 18 deletions
|
@ -83,6 +83,8 @@ PPL supports many different criteria:
|
|||
| `domain` | String Matcher | Returns true if the logged-in user's email address domain (the part after `@`) matches the given value. |
|
||||
| `email` | String Matcher | Returns true if the logged-in user's email address matches the given value. |
|
||||
| `groups` | List Matcher | Returns true if the logged-in user is a member of the given group. |
|
||||
| `http_method` | String Matcher | Returns true if the HTTP method matches the given value. |
|
||||
| `http_path` | String Matcher | Returns true if the HTTP path matches the given value. |
|
||||
| `invalid_client_certificate` | Anything. Typically `true`. | Returns true if the incoming request has an invalid client certificate. A default `deny` rule using this criterion is added to all Pomerium policies when an mTLS [client certificate authority] is set. |
|
||||
| `pomerium_routes` | Anything. Typically `true`. | Returns true if the incoming request is for the special `.pomerium` routes. A default `allow` rule using this criterion is added to all Pomerium policies. |
|
||||
| `reject` | Anything. Typically `true`. | Always returns false. The opposite of `accept`. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue