Debian Codegraph @

hub1/.tests/zoneminder_cve-39285/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-39285.log"
8 results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file"
9 results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "200"
10 results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "User Agent DATA - THREAT"
11 results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log"
12 results[0].Overflow.Alert.Events[0].GetMeta("service") == "http"
13 results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "10.0.1.5"
14 results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-12-18T18:15:27-07:00"
15 results[0].Overflow.Alert.GetScenario() == "baudneo/zoneminder_cve-2022-39285"
16 results[0].Overflow.Alert.Remediation == true
17 results[0].Overflow.Alert.GetEventsCount() == 1