pomerium/authorize/evaluator
Kenneth Jenkins 21b9e7890c
authorize: add filter options for JWT groups (#5417)
Add a new option for filtering to a subset of directory groups in the
Pomerium JWT and Impersonate-Group headers. Add a JWTGroupsFilter field
to both the Options struct (for a global filter) and to the Policy
struct (for per-route filter). These will be populated only from the
config protos, and not from a config file.

If either filter is set, then for each of a user's groups, the group
name or group ID will be added to the JWT groups claim only if it is an
exact string match with one of the elements of either filter.
2025-01-08 13:57:57 -08:00
..
config.go authorize: add filter options for JWT groups (#5417) 2025-01-08 13:57:57 -08:00
evaluator.go authorize: add filter options for JWT groups (#5417) 2025-01-08 13:57:57 -08:00
evaluator_test.go authorize: add filter options for JWT groups (#5417) 2025-01-08 13:57:57 -08:00
functions.go logging: remove ctx from global log methods (#5337) 2024-10-23 14:18:52 -06:00
functions_test.go add mTLS UserPrincipalName SAN match (#5177) 2024-07-26 10:23:19 -07:00
gen-test-certs.go add mTLS UserPrincipalName SAN match (#5177) 2024-07-26 10:23:19 -07:00
google_cloud_serverless.go core/logging: change log.Error function (#5251) 2024-09-05 15:42:46 -06:00
google_cloud_serverless_test.go authorize: move headers and jwt signing to rego (#1856) 2021-02-08 10:53:21 -07:00
headers_evaluator.go cleanup headers (#5408) 2025-01-06 09:52:29 -07:00
headers_evaluator_evaluation.go authorize: add filter options for JWT groups (#5417) 2025-01-08 13:57:57 -08:00
headers_evaluator_test.go authorize: add filter options for JWT groups (#5417) 2025-01-08 13:57:57 -08:00
log.go core/authorize: add support for rego print statements (#5049) 2024-04-01 14:17:14 -06:00
log_test.go core/authorize: add support for rego print statements (#5049) 2024-04-01 14:17:14 -06:00
policy_evaluator.go Fix many instances of contexts and loggers not being propagated (#5340) 2024-10-25 14:50:56 -04:00
policy_evaluator_test.go config: add new mTLS enforcement setting (#4443) 2023-08-09 07:53:11 -07:00