authelia/internal/handlers
James Elliott bc3b0fda35
feat(regulator): enhance authentication logs (#2622)
This adds additional logging to the authentication logs such as type, remote IP, request method, redirect URL, and if the attempt was done during a ban. This also means we log attempts that occur when the attempt was blocked by the regulator for record keeping purposes, as well as record 2FA attempts which can be used to inform admins and later to regulate based on other factors.

Fixes #116, Fixes #1293.
2021-11-29 14:09:14 +11:00
..
const.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
errors.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_checks_safe_redirection.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_checks_safe_redirection_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_configuration.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_configuration_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_firstfactor.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_firstfactor_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_health.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_logout.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_logout_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_authorization.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_consent.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_introspection.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_jwks.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_revocation.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_token.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_oidc_userinfo.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_oidc_wellknown.go feat(oidc): include introspection_endpoint in .well-known/openid-configuration 2021-11-11 14:41:49 +11:00
handler_register_totp.go feat(storage): encrypted secret values (#2588) 2021-11-25 12:56:58 +11:00
handler_register_u2f_step1.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_register_u2f_step1_test.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
handler_register_u2f_step2.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
handler_reset_password_step1.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_reset_password_step2.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_sign_duo.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_duo_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_totp.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_totp_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_u2f_step1.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_u2f_step1_test.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_sign_u2f_step2.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_sign_u2f_step2_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_state.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_state_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
handler_user_info.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
handler_user_info_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
handler_verify.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
handler_verify_test.go refactor(handlers): lower case error messages (#2289) 2021-09-17 15:53:40 +10:00
oidc.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
oidc_register.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
oidc_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
response.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
totp.go feat(storage): encrypted secret values (#2588) 2021-11-25 12:56:58 +11:00
totp_mock.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
types.go feat(storage): primary key for all tables and general qol refactoring (#2431) 2021-11-23 20:45:38 +11:00
types_oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
u2f_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00