Debian Codegraph @

hub1/.tests/fortinet-cve-2018-13379/scenario.assert

raw
1 len(results) == 1
2 "192.168.1.3" in results[0].Overflow.GetSources()
3 results[0].Overflow.Sources["192.168.1.3"].IP == "192.168.1.3"
4 results[0].Overflow.Sources["192.168.1.3"].Range == ""
5 results[0].Overflow.Sources["192.168.1.3"].GetScope() == "Ip"
6 results[0].Overflow.Sources["192.168.1.3"].GetValue() == "192.168.1.3"
7 results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "fortinet-cve-2018-13379.log"
8 results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file"
9 results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession"
10 results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200"
11 results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "-"
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.3"
16 results[0].Overflow.Alert.GetScenario() == "crowdsecurity/fortinet-cve-2018-13379"
17 results[0].Overflow.Alert.Remediation == true
18 results[0].Overflow.Alert.GetEventsCount() == 1