mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
authorize: audit log had duplicate "message" key (#2141)
* authorize: audit log had duplicate "message" key Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
843c4b6fee
commit
7973ab43fe
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ func (a *Authorize) logAuthorizeCheck(
|
||||||
// reply
|
// reply
|
||||||
if reply != nil {
|
if reply != nil {
|
||||||
evt = evt.Bool("allow", reply.Status == http.StatusOK)
|
evt = evt.Bool("allow", reply.Status == http.StatusOK)
|
||||||
evt = evt.Int("status", reply.Status)
|
evt = evt.Int("reply-status", reply.Status)
|
||||||
evt = evt.Str("message", reply.Message)
|
evt = evt.Str("reply-message", reply.Message)
|
||||||
evt = evt.Str("user", u.GetId())
|
evt = evt.Str("user", u.GetId())
|
||||||
evt = evt.Str("email", u.GetEmail())
|
evt = evt.Str("email", u.GetEmail())
|
||||||
evt = evt.Uint64("databroker_server_version", reply.DataBrokerServerVersion)
|
evt = evt.Uint64("databroker_server_version", reply.DataBrokerServerVersion)
|
||||||
|
|
Loading…
Add table
Reference in a new issue