mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-25 05:58:16 +02:00
authorize: log JWT groups filtering
This commit is contained in:
parent
8bc86fe06f
commit
e7831cc299
6 changed files with 64 additions and 16 deletions
|
@ -8,12 +8,14 @@ import (
|
|||
"github.com/open-policy-agent/opa/rego"
|
||||
|
||||
"github.com/pomerium/pomerium/authorize/internal/store"
|
||||
"github.com/pomerium/pomerium/internal/log"
|
||||
"github.com/pomerium/pomerium/internal/telemetry/trace"
|
||||
)
|
||||
|
||||
// HeadersResponse is the output from the headers.rego script.
|
||||
type HeadersResponse struct {
|
||||
Headers http.Header
|
||||
Headers http.Header
|
||||
AdditionalLogFields map[log.AuthorizeLogField]any
|
||||
}
|
||||
|
||||
// A HeadersEvaluator evaluates the headers.rego script.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue