authelia/internal/session
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
..
mocks refactor(session): use github.com/fasthttp/session/v2 instead of github.com/authelia/session/v2 (#1809) 2021-03-13 16:06:19 +11:00
const.go fix(session): use crypto/rand for session id generator (#2594) 2021-11-11 20:13:32 +11:00
encrypting_serializer.go refactor(session): remove unencrypted session fallback (#2314) 2021-08-26 21:48:14 +10:00
encrypting_serializer_test.go feat(regulator): enhance authentication logs (#2622) 2021-11-29 14:09:14 +11:00
provider.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
provider_config.go fix(session): use crypto/rand for session id generator (#2594) 2021-11-11 20:13:32 +11:00
provider_config_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
provider_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
types.go fix(session): handle redis logging properly (#2350) 2021-09-09 13:08:21 +10:00
user_session.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00