grafana/pkg/setting
colin-stuart 6200361f36
Auth: Add IP address login attempt validation (#98123)
* Auth: Add IP address login attempt validation

* LoginAttempt struct IpAddress field must be camelCase to match db ip_address column

* add setting DisableIPAddressLoginProtection

* lint

* add DisableIPAddressLoginProtection setting to tests

* add request object to authenticate password test

* nit suggestions & rename tests

* add login attempt on failed password authentication

* dont need to reset login attempts if successful

* don't change error message

* revert go.work.sum

* Update pkg/services/authn/clients/password.go

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-02-05 20:16:36 +02:00
..
settingtest SSO SAML: Remove SettingProvider settings from SSO interactions (#94900) 2024-10-21 11:28:55 +02:00
testdata
date_formats.go
date_formats_test.go
dynamic_settings_test.go
expanders.go
expanders_test.go
provider.go SSO SAML: Remove SettingProvider settings from SSO interactions (#94900) 2024-10-21 11:28:55 +02:00
setting.go Auth: Add IP address login attempt validation (#98123) 2025-02-05 20:16:36 +02:00
setting_anonymous.go Auth: Separate anonymous settings to its own struct (#97791) 2024-12-13 10:46:27 +01:00
setting_auth_proxy.go
setting_azure.go OAuth: Add support for new user identity flags for grafana-azure-sdk-go (#98703) 2025-01-24 12:48:27 +00:00
setting_azure_test.go OAuth: Add support for new user identity flags for grafana-azure-sdk-go (#98703) 2025-01-24 12:48:27 +00:00
setting_cloud_migration.go CloudMigrations: Add config for alert rules state behavior and remove experimental feature toggle on alerts migration (#97254) 2024-12-17 12:56:18 +01:00
setting_data_proxy.go
setting_feature_toggles.go
setting_feature_toggles_test.go
setting_featuremgmt.go
setting_grafana_javascript_agent.go Frontend Monitoring: Set correct default value in Go file (#94976) 2024-10-18 17:52:46 +03:00
setting_grpc.go AuthZ: Launch service within IAM app (#96421) 2024-11-20 11:13:33 +01:00
setting_jwt.go
setting_passwordless_magic_link.go Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
setting_plugins.go Explore Profiles: Preinstall for onprem Grafana instances (#97775) 2024-12-17 16:35:11 +01:00
setting_plugins_test.go Preinstall: Allow to set a download URL (#96535) 2024-11-29 16:02:33 +01:00
setting_quota.go
setting_remote_cache.go RemoteCache: Refactor remote cache settings (#95672) 2024-11-04 17:35:31 +01:00
setting_search.go
setting_secure_socks_proxy.go
setting_secure_socks_proxy_test.go
setting_session_test.go
setting_smtp.go
setting_smtp_test.go
setting_storage.go
setting_test.go Settings: Redact token keyword (#97395) 2024-12-04 16:58:29 +01:00
setting_unified_alerting.go Alerting: Add state_periodic_save_batch_size config option (#98019) 2024-12-16 15:30:38 +01:00
setting_unified_alerting_test.go Alerting: Change default for max_attempts to 3. (#97461) 2024-12-05 21:48:24 +01:00
setting_unified_storage.go Unified Storage: Adds settings for ca cert path and skipping cert verification (#98412) 2025-01-06 14:00:38 -06:00
setting_unified_storage_test.go refactor(unified-storage): make datasyncer configurable (#97832) 2024-12-12 21:41:01 +01:00
settings_rbac.go Zanzana: Add setting zanzana reconciliation interval (#96687) 2024-11-21 09:20:29 +01:00
settings_zanzana.go Zanzana: Split up settings into client and server sections (#99066) 2025-01-16 13:39:39 +01:00