| 1 |
len(results) == 1 |
| 2 |
"213.44.59.93" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["213.44.59.93"].IP == "213.44.59.93" |
| 4 |
results[0].Overflow.Sources["213.44.59.93"].Range == "" |
| 5 |
results[0].Overflow.Sources["213.44.59.93"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["213.44.59.93"].GetValue() == "213.44.59.93" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "cpanel_bf_attempt.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("http_path") == "/login/?login_only=1" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("http_verb") == "POST" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "auth_bf_attempt" |
| 12 |
results[0].Overflow.Alert.Events[0].GetMeta("service") == "http" |
| 13 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "213.44.59.93" |
| 14 |
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2021-06-10T12:07:01Z" |
| 15 |
results[0].Overflow.Alert.Events[0].GetMeta("username") == "cscpanel" |
| 16 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/cpanel-bf-attempt" |
| 17 |
results[0].Overflow.Alert.Remediation == true |
| 18 |
results[0].Overflow.Alert.GetEventsCount() == 1 |