| 1 |
len(results) == 1 |
| 2 |
"2001:0db8:85a3:0000:0000:8a2e:0370:7334" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["2001:0db8:85a3:0000:0000:8a2e:0370:7334"].IP == "2001:0db8:85a3:0000:0000:8a2e:0370:7334" |
| 4 |
results[0].Overflow.Sources["2001:0db8:85a3:0000:0000:8a2e:0370:7334"].Range == "" |
| 5 |
results[0].Overflow.Sources["2001:0db8:85a3:0000:0000:8a2e:0370:7334"].GetScope() == "Range" |
| 6 |
results[0].Overflow.Sources["2001:0db8:85a3:0000:0000:8a2e:0370:7334"].GetValue() == "2001:db8:85a3::/64" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "ipv6-postoverflow.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "Mozilla/5.00 (Nikto/2.1.5) (Evasions:None) (Test:Port Check)" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "HEAD" |
| 13 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 14 |
results[0].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 15 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "2001:0db8:85a3:0000:0000:8a2e:0370:7334" |
| 16 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2021-09-29T14:11:34+02:00" |
| 17 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_path") == "ipv6-postoverflow.log" |
| 18 |
results[0].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" |
| 19 |
results[0].Overflow.Alert.Events[1].GetMeta("http_path") == "/" |
| 20 |
results[0].Overflow.Alert.Events[1].GetMeta("http_status") == "200" |
| 21 |
results[0].Overflow.Alert.Events[1].GetMeta("http_user_agent") == "Mozilla/5.00 (Nikto/2.1.5) (Evasions:None) (Test:getinfo)" |
| 22 |
results[0].Overflow.Alert.Events[1].GetMeta("http_verb") == "GET" |
| 23 |
results[0].Overflow.Alert.Events[1].GetMeta("log_type") == "http_access-log" |
| 24 |
results[0].Overflow.Alert.Events[1].GetMeta("service") == "http" |
| 25 |
results[0].Overflow.Alert.Events[1].GetMeta("source_ip") == "2001:0db8:85a3:0000:0000:8a2e:0370:7334" |
| 26 |
results[0].Overflow.Alert.Events[1].GetMeta("timestamp") == "2021-09-29T14:11:34+02:00" |
| 27 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/http-bad-user-agent" |
| 28 |
results[0].Overflow.Alert.Remediation == true |
| 29 |
results[0].Overflow.Alert.GetEventsCount() == 2 |