| 1 |
len(results) == 1 |
| 2 |
"::1" in results[0].Overflow.GetSources() |
| 3 |
results[0].Overflow.Sources["::1"].IP == "::1" |
| 4 |
results[0].Overflow.Sources["::1"].Range == "" |
| 5 |
results[0].Overflow.Sources["::1"].GetScope() == "Ip" |
| 6 |
results[0].Overflow.Sources["::1"].GetValue() == "::1" |
| 7 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "modsecurity.log" |
| 8 |
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" |
| 9 |
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "modsecurity" |
| 10 |
results[0].Overflow.Alert.Events[0].GetMeta("rule_id") == "930100" |
| 11 |
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "::1" |
| 12 |
results[0].Overflow.Alert.GetScenario() == "crowdsecurity/modsecurity" |
| 13 |
results[0].Overflow.Alert.Remediation == true |
| 14 |
results[0].Overflow.Alert.GetEventsCount() == 1 |