| 1 |
len(results) == 1 |
| 2 |
"127.0.0.1" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["127.0.0.1"].IP == "127.0.0.1" |
| 4 |
results[0].Overflow.Sources["127.0.0.1"].Range == "" |
| 5 |
results[0].Overflow.Sources["127.0.0.1"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["127.0.0.1"].GetValue() == "127.0.0.1" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "teamspeak-bf.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "ts3_fail_auth" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("service") == "teamspeak3" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "127.0.0.1" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-12-29T11:39:26.009756Z" |
| 13 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_path") == "teamspeak-bf.log" |
| 14 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" |
| 15 |
results[0].Overflow.Alert.Events[1].GetMeta("log_type") == "ts3_fail_auth" |
| 16 |
results[0].Overflow.Alert.Events[1].GetMeta("service") == "teamspeak3" |
| 17 |
results[0].Overflow.Alert.Events[1].GetMeta("source_ip") == "127.0.0.1" |
| 18 |
results[0].Overflow.Alert.Events[1].GetMeta("timestamp") == "2022-12-29T11:28:04.596079Z" |
| 19 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_path") == "teamspeak-bf.log" |
| 20 |
results[0].Overflow.Alert.Events[2].GetMeta("datasource_type") == "file" |
| 21 |
results[0].Overflow.Alert.Events[2].GetMeta("log_type") == "ts3_fail_auth" |
| 22 |
results[0].Overflow.Alert.Events[2].GetMeta("service") == "teamspeak3" |
| 23 |
results[0].Overflow.Alert.Events[2].GetMeta("source_ip") == "127.0.0.1" |
| 24 |
results[0].Overflow.Alert.Events[2].GetMeta("timestamp") == "2022-12-29T11:28:04.596079Z" |
| 25 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/teamspeak3-bf" |
| 26 |
results[0].Overflow.Alert.Remediation == true |
| 27 |
results[0].Overflow.Alert.GetEventsCount() == 3 |