zilla
zilla copied to clipboard
Securely add the more detail around authentication failure when logging with metrics exporters
Is your feature request related to a problem? Please describe.
Currently, if authentication fails, Zilla will log GUARD_JWT_AUTHORIZATION_FAILED -
with no additional context on the cause of the auth failure.
Describe the solution you'd like Adding additional metrics types or modifying the current metrics types to include more information and context about authentication will help troubleshoot issues.
Describe alternatives you've considered A verbosity level flag could manage this and could be controlled separately so a lower environment can expose more while production can expose less.
It would be a very nice feature! and not only about AUTHORIZATION_FAILED
, but about all sorts of failures!