| 1 |
len(results) == 2 |
| 2 |
"2222:3333:444a:a300:3c65:1111:1111:1112" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1112"].IP == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 4 |
results[0].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1112"].Range == "" |
| 5 |
results[0].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1112"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1112"].GetValue() == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("log_subtype") == "zm_bad_user" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "zm_failed_auth" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-01-25T16:08:02.393003Z" |
| 13 |
results[0].Overflow.Alert.Events[0].GetMeta("username") == "user1" |
| 14 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 15 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" |
| 16 |
results[0].Overflow.Alert.Events[1].GetMeta("log_subtype") == "zm_bad_user" |
| 17 |
results[0].Overflow.Alert.Events[1].GetMeta("log_type") == "zm_failed_auth" |
| 18 |
results[0].Overflow.Alert.Events[1].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 19 |
results[0].Overflow.Alert.Events[1].GetMeta("timestamp") == "2022-01-25T16:08:03.393003Z" |
| 20 |
results[0].Overflow.Alert.Events[1].GetMeta("username") == "user2" |
| 21 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 22 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_type") == "file" |
| 23 |
results[0].Overflow.Alert.Events[2].GetMeta("log_subtype") == "zm_bad_user" |
| 24 |
results[0].Overflow.Alert.Events[2].GetMeta("log_type") == "zm_failed_auth" |
| 25 |
results[0].Overflow.Alert.Events[2].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 26 |
results[0].Overflow.Alert.Events[2].GetMeta("timestamp") == "2022-01-25T16:08:03.393003Z" |
| 27 |
results[0].Overflow.Alert.Events[2].GetMeta("username") == "user3" |
| 28 |
results[0].Overflow.Alert.Events[3].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 29 |
results[0].Overflow.Alert.Events[3].GetMeta("datasource_type") == "file" |
| 30 |
results[0].Overflow.Alert.Events[3].GetMeta("log_subtype") == "zm_bad_user" |
| 31 |
results[0].Overflow.Alert.Events[3].GetMeta("log_type") == "zm_failed_auth" |
| 32 |
results[0].Overflow.Alert.Events[3].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 33 |
results[0].Overflow.Alert.Events[3].GetMeta("timestamp") == "2022-01-25T16:08:03.531511Z" |
| 34 |
results[0].Overflow.Alert.Events[3].GetMeta("username") == "user4" |
| 35 |
results[0].Overflow.Alert.Events[4].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 36 |
results[0].Overflow.Alert.Events[4].GetMeta("datasource_type") == "file" |
| 37 |
results[0].Overflow.Alert.Events[4].GetMeta("log_subtype") == "zm_bad_user" |
| 38 |
results[0].Overflow.Alert.Events[4].GetMeta("log_type") == "zm_failed_auth" |
| 39 |
results[0].Overflow.Alert.Events[4].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1112" |
| 40 |
results[0].Overflow.Alert.Events[4].GetMeta("timestamp") == "2022-01-25T16:08:03.531511Z" |
| 41 |
results[0].Overflow.Alert.Events[4].GetMeta("username") == "user5" |
| 42 |
results[0].Overflow.Alert.GetScenario() == "baudneo/zoneminder-bf" |
| 43 |
results[0].Overflow.Alert.Remediation == true |
| 44 |
results[0].Overflow.Alert.GetEventsCount() == 5 |
| 45 |
"2222:3333:444a:a300:3c65:1111:1111:1111" in results[1].Overflow.GetSources() |
| 46 |
results[1].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1111"].IP == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 47 |
results[1].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1111"].Range == "" |
| 48 |
results[1].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1111"].GetScope() == "Ip" |
| 49 |
results[1].Overflow.Sources["2222:3333:444a:a300:3c65:1111:1111:1111"].GetValue() == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 50 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 51 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 52 |
results[1].Overflow.Alert.Events[0].GetMeta("log_subtype") == "zm_bad_password" |
| 53 |
results[1].Overflow.Alert.Events[0].GetMeta("log_type") == "zm_failed_auth" |
| 54 |
results[1].Overflow.Alert.Events[0].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 55 |
results[1].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-01-25T16:22:17.359785Z" |
| 56 |
results[1].Overflow.Alert.Events[0].GetMeta("username") == "test_user" |
| 57 |
results[1].Overflow.Alert.Events[1].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 58 |
results[1].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" |
| 59 |
results[1].Overflow.Alert.Events[1].GetMeta("log_subtype") == "zm_bad_password" |
| 60 |
results[1].Overflow.Alert.Events[1].GetMeta("log_type") == "zm_failed_auth" |
| 61 |
results[1].Overflow.Alert.Events[1].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 62 |
results[1].Overflow.Alert.Events[1].GetMeta("timestamp") == "2022-01-25T16:22:17.359785Z" |
| 63 |
results[1].Overflow.Alert.Events[1].GetMeta("username") == "test_user" |
| 64 |
results[1].Overflow.Alert.Events[2].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 65 |
results[1].Overflow.Alert.Events[2].GetMeta("datasource_type") == "file" |
| 66 |
results[1].Overflow.Alert.Events[2].GetMeta("log_subtype") == "zm_bad_password" |
| 67 |
results[1].Overflow.Alert.Events[2].GetMeta("log_type") == "zm_failed_auth" |
| 68 |
results[1].Overflow.Alert.Events[2].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 69 |
results[1].Overflow.Alert.Events[2].GetMeta("timestamp") == "2022-01-25T16:22:17.359785Z" |
| 70 |
results[1].Overflow.Alert.Events[2].GetMeta("username") == "test_user" |
| 71 |
results[1].Overflow.Alert.Events[3].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 72 |
results[1].Overflow.Alert.Events[3].GetMeta("datasource_type") == "file" |
| 73 |
results[1].Overflow.Alert.Events[3].GetMeta("log_subtype") == "zm_bad_password" |
| 74 |
results[1].Overflow.Alert.Events[3].GetMeta("log_type") == "zm_failed_auth" |
| 75 |
results[1].Overflow.Alert.Events[3].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 76 |
results[1].Overflow.Alert.Events[3].GetMeta("timestamp") == "2022-01-25T16:22:17.359785Z" |
| 77 |
results[1].Overflow.Alert.Events[3].GetMeta("username") == "test_user" |
| 78 |
results[1].Overflow.Alert.Events[4].GetMeta("datasource_path") == "zoneminder-bf.log" |
| 79 |
results[1].Overflow.Alert.Events[4].GetMeta("datasource_type") == "file" |
| 80 |
results[1].Overflow.Alert.Events[4].GetMeta("log_subtype") == "zm_bad_password" |
| 81 |
results[1].Overflow.Alert.Events[4].GetMeta("log_type") == "zm_failed_auth" |
| 82 |
results[1].Overflow.Alert.Events[4].GetMeta("source_ip") == "2222:3333:444a:a300:3c65:1111:1111:1111" |
| 83 |
results[1].Overflow.Alert.Events[4].GetMeta("timestamp") == "2022-01-25T16:22:17.359785Z" |
| 84 |
results[1].Overflow.Alert.Events[4].GetMeta("username") == "test_user" |
| 85 |
results[1].Overflow.Alert.GetScenario() == "baudneo/zoneminder-bf" |
| 86 |
results[1].Overflow.Alert.Remediation == true |
| 87 |
results[1].Overflow.Alert.GetEventsCount() == 5 |