| 1 |
len(results) == 1 |
| 2 |
"127.0.0.1" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["127.0.0.1"].IP == "127.0.0.1" |
| 4 |
results[0].Overflow.Sources["127.0.0.1"].Range == "" |
| 5 |
results[0].Overflow.Sources["127.0.0.1"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["127.0.0.1"].GetValue() == "127.0.0.1" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "CVE-2022-40684.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/api/v2/cmdb/system/admin/hes" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_status") == "404" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "Report Runner" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "PUT" |
| 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") == "127.0.0.1" |
| 16 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2022-10-14T09:55:53+02:00" |
| 17 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/fortinet-cve-2022-40684" |
| 18 |
results[0].Overflow.Alert.Remediation == true |
| 19 |
results[0].Overflow.Alert.GetEventsCount() == 1 |