mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
authorize: log users and groups (#1303)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
66d43b6d27
commit
45fc4ec3cc
2 changed files with 3 additions and 0 deletions
|
@ -351,6 +351,8 @@ func logAuthorizeCheck(
|
|||
evt = evt.Bool("allow", reply.Status == http.StatusOK)
|
||||
evt = evt.Int("status", reply.Status)
|
||||
evt = evt.Str("message", reply.Message)
|
||||
evt = evt.Str("user", reply.UserEmail)
|
||||
evt = evt.Strs("groups", reply.UserGroups)
|
||||
}
|
||||
|
||||
// potentially sensitive, only log if debug mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue