Implement user lockout log (#23140)

* implement user lockout logger

* formatting

* make user lockout log interval configurable

* create func to get locked user count, and fix potential deadlock

* fix test

* fix test

* add changelog
This commit is contained in:
davidadeleon
2023-10-06 15:58:42 -04:00
committed by GitHub
parent 8202c7db4b
commit 92fcfda8ad
9 changed files with 103 additions and 3 deletions

View File

@@ -780,6 +780,7 @@ func testConfig_Sanitized(t *testing.T) {
"enable_response_header_hostname": false,
"enable_response_header_raft_node_id": false,
"log_requests_level": "basic",
"user_lockout_log_interval": 0 * time.Second,
"ha_storage": map[string]interface{}{
"cluster_addr": "top_level_cluster_addr",
"disable_clustering": true,