| 1 |
len(results) == 2 |
| 2 |
"192.168.1.4" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["192.168.1.4"].IP == "192.168.1.4" |
| 4 |
results[0].Overflow.Sources["192.168.1.4"].Range == "" |
| 5 |
results[0].Overflow.Sources["192.168.1.4"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["192.168.1.4"].GetValue() == "192.168.1.4" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "vmware-vcenter-vmsa-2021-0027.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/ui/vcav-bootstrap/rest/vcav-providers/provider-logo?url=https://10.1.1.1:3000" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "curl/7.68.0" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" |
| 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") == "192.168.1.4" |
| 16 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/vmware-vcenter-vmsa-2021-0027" |
| 17 |
results[0].Overflow.Alert.Remediation == true |
| 18 |
results[0].Overflow.Alert.GetEventsCount() == 1 |
| 19 |
"192.168.1.3" in results[1].Overflow.GetSources() |
| 20 |
results[1].Overflow.Sources["192.168.1.3"].IP == "192.168.1.3" |
| 21 |
results[1].Overflow.Sources["192.168.1.3"].Range == "" |
| 22 |
results[1].Overflow.Sources["192.168.1.3"].GetScope() == "Ip" |
| 23 |
results[1].Overflow.Sources["192.168.1.3"].GetValue() == "192.168.1.3" |
| 24 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_path") == "vmware-vcenter-vmsa-2021-0027.log" |
| 25 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 26 |
results[1].Overflow.Alert.Events[0].GetMeta("http_path") == "/ui/vcav-bootstrap/rest/vcav-providers/provider-logo?url=file:///etc/passwd" |
| 27 |
results[1].Overflow.Alert.Events[0].GetMeta("http_status") == "404" |
| 28 |
results[1].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "curl/7.68.0" |
| 29 |
results[1].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" |
| 30 |
results[1].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 31 |
results[1].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 32 |
results[1].Overflow.Alert.Events[0].GetMeta("source_ip") == "192.168.1.3" |
| 33 |
results[1].Overflow.Alert.GetScenario() == "crowdsecurity/vmware-vcenter-vmsa-2021-0027" |
| 34 |
results[1].Overflow.Alert.Remediation == true |
| 35 |
results[1].Overflow.Alert.GetEventsCount() == 1 |