| 1 |
len(results) == 2 |
| 2 |
"127.0.0.1" in results[1].Overflow.GetSources() |
| 3 |
results[1].Overflow.Sources["127.0.0.1"].IP == "127.0.0.1" |
| 4 |
results[1].Overflow.Sources["127.0.0.1"].Range == "" |
| 5 |
results[1].Overflow.Sources["127.0.0.1"].GetScope() == "Ip" |
| 6 |
results[1].Overflow.Sources["127.0.0.1"].GetValue() == "127.0.0.1" |
| 7 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_path") == "nginx-http-open-proxy.log" |
| 8 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[1].Overflow.Alert.Events[0].GetMeta("http_path") == "foo.com:25" |
| 10 |
results[1].Overflow.Alert.Events[0].GetMeta("http_status") == "400" |
| 11 |
results[1].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "-" |
| 12 |
results[1].Overflow.Alert.Events[0].GetMeta("http_verb") == "CONNECT" |
| 13 |
results[1].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 14 |
results[1].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 15 |
results[1].Overflow.Alert.Events[0].GetMeta("source_ip") == "127.0.0.1" |
| 16 |
results[1].Overflow.Alert.Events[0].GetMeta("timestamp") == "2021-09-24T06:20:32Z" |
| 17 |
results[1].Overflow.Alert.GetScenario() == "crowdsecurity/http-open-proxy" |
| 18 |
results[1].Overflow.Alert.Remediation == true |
| 19 |
results[1].Overflow.Alert.GetEventsCount() == 1 |
| 20 |
"127.0.0.2" in results[0].Overflow.GetSources() |
| 21 |
results[0].Overflow.Sources["127.0.0.2"].IP == "127.0.0.2" |
| 22 |
results[0].Overflow.Sources["127.0.0.2"].Range == "" |
| 23 |
results[0].Overflow.Sources["127.0.0.2"].GetScope() == "Ip" |
| 24 |
results[0].Overflow.Sources["127.0.0.2"].GetValue() == "127.0.0.2" |
| 25 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "nginx-http-open-proxy.log" |
| 26 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 27 |
results[0].Overflow.Alert.Events[0].GetMeta("http_args_len") == "0" |
| 28 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "http://www.sbjudge4.com:80/ip4.php" |
| 29 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "400" |
| 30 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "-" |
| 31 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" |
| 32 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 33 |
results[0].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 34 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "127.0.0.2" |
| 35 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-08-08T21:18:26Z" |
| 36 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/http-open-proxy" |
| 37 |
results[0].Overflow.Alert.Remediation == true |
| 38 |
results[0].Overflow.Alert.GetEventsCount() == 1 |