* db: add login attempt migrations * db: add possibility to create login attempts * db: add possibility to retrieve login attempt count per username * auth: validation and update of login attempts for invalid credentials If login attempt count for user authenticating is 5 or more the last 5 minutes we temporarily block the user access to login * db: add possibility to delete expired login attempts * cleanup: Delete login attempts older than 10 minutes The cleanup job are running continuously and triggering each 10 minute * fix typo: rename consequent to consequent * auth: enable login attempt validation for ldap logins * auth: disable login attempts validation by configuration Setting is named DisableLoginAttemptsValidation and is false by default Config disable_login_attempts_validation is placed under security section #7616 * auth: don't run cleanup of login attempts if feature is disabled #7616 * auth: rename settings.go to ldap_settings.go * auth: refactor AuthenticateUser Extract grafana login, ldap login and login attemp validation together with their tests to separate files. Enables testing of many more aspects when authenticating a user. #7616 * auth: rename login attempt validation to brute force login protection Setting DisableLoginAttemptsValidation => DisableBruteForceLoginProtection Configuration disable_login_attempts_validation => disable_brute_force_login_protection #7616
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
avatar | Loading commit data... | |
dtos | Loading commit data... | |
live | Loading commit data... | |
pluginproxy | Loading commit data... | |
static | Loading commit data... | |
admin.go | Loading commit data... | |
admin_users.go | Loading commit data... | |
alerting.go | Loading commit data... | |
annotations.go | Loading commit data... | |
api.go | Loading commit data... | |
apikey.go | Loading commit data... | |
app_routes.go | Loading commit data... | |
common.go | Loading commit data... | |
dashboard.go | Loading commit data... | |
dashboard_acl.go | Loading commit data... | |
dashboard_acl_test.go | Loading commit data... | |
dashboard_snapshot.go | Loading commit data... | |
dashboard_test.go | Loading commit data... | |
dataproxy.go | Loading commit data... | |
datasources.go | Loading commit data... | |
datasources_test.go | Loading commit data... | |
frontendsettings.go | Loading commit data... | |
grafana_com_proxy.go | Loading commit data... | |
http_server.go | Loading commit data... | |
index.go | Loading commit data... | |
login.go | Loading commit data... | |
login_oauth.go | Loading commit data... | |
metrics.go | Loading commit data... | |
org.go | Loading commit data... | |
org_invite.go | Loading commit data... | |
org_users.go | Loading commit data... | |
password.go | Loading commit data... | |
playlist.go | Loading commit data... | |
playlist_play.go | Loading commit data... | |
plugins.go | Loading commit data... | |
preferences.go | Loading commit data... | |
quota.go | Loading commit data... | |
render.go | Loading commit data... | |
route_register.go | Loading commit data... | |
route_register_test.go | Loading commit data... | |
search.go | Loading commit data... | |
signup.go | Loading commit data... | |
stars.go | Loading commit data... | |
team.go | Loading commit data... | |
team_members.go | Loading commit data... | |
team_test.go | Loading commit data... | |
user.go | Loading commit data... | |
user_test.go | Loading commit data... |