Debian Codegraph @

hub1/.tests/zoneminder_cve-39290/scenario.assert

raw
1 len(results) == 1
2 "10.0.1.5" in results[0].Overflow.GetSources()
3 results[0].Overflow.Sources["10.0.1.5"].IP == "10.0.1.5"
4 results[0].Overflow.Sources["10.0.1.5"].Range == ""
5 results[0].Overflow.Sources["10.0.1.5"].GetScope() == "Ip"
6 results[0].Overflow.Sources["10.0.1.5"].GetValue() == "10.0.1.5"
7 results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "zoneminder_cve-39290.log"
8 results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file"
9 results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/zm/index.php?view=options&tab=users&action=delete&markUids%5B%5D=13&deleteBtn=Delete"
10 results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200"
11 results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.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") == "10.0.1.5"
16 results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-12-18T18:15:27-07:00"
17 results[0].Overflow.Alert.GetScenario() == "baudneo/zoneminder_cve-2022-39290"
18 results[0].Overflow.Alert.Remediation == true
19 results[0].Overflow.Alert.GetEventsCount() == 1