You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
monitor_description ="This alert fires when we detect more than or equal to 10 client IPs attempting authentication failures on the database over a 15-minute period."
526
+
monitor_monitor_type ="Logs"
527
+
monitor_parent_id = var.monitor_folder_id
528
+
monitor_is_disabled = var.monitors_disabled
529
+
monitor_evaluation_delay ="0m"
530
+
queries = {
531
+
A ="account=* region=* namespace=aws/rds dbidentifier=* _sourceHost=/aws/rds/*Error Logon Login failed for user\n| json \"message\" nodrop | if (_raw matches \"{*\", message, _raw) as message\n| parse field=message \"* Logon Login failed for user '*'. Reason: * [CLIENT: *]\" as time, user, reason, client_ip\n| count_distinct(client_ip) as unique_client_ip by dbidentifier\n| 10 as threshold\n| where unique_client_ip >= threshold\n| sort by unique_client_ip\n| fields - threshold"
monitor_name ="Amazon RDS MSSQL - Authentication failures from the same client IP on multiple databases"
559
+
monitor_description ="This alert fires when we detect specific client IP attempting authentication failures on more than or equal to 10 databases over a 15 minute time-period."
560
+
monitor_monitor_type ="Logs"
561
+
monitor_parent_id = var.monitor_folder_id
562
+
monitor_is_disabled = var.monitors_disabled
563
+
monitor_evaluation_delay ="0m"
564
+
queries = {
565
+
A ="account=* region=* namespace=aws/rds dbidentifier=* _sourceHost=/aws/rds/*Error Logon Login failed for user\n| json \"message\" nodrop | if (_raw matches \"{*\", message, _raw) as message\n| parse field=message \"* Logon Login failed for user '*'. Reason: * [CLIENT: *]\" as time, user, reason, client_ip\n| count_distinct(dbidentifier) as unique_db by client_ip\n| 10 as threshold\n| where unique_db >= threshold\n| sort by unique_db, client_ip asc\n| fields - threshold"
0 commit comments