| 1 |
len(results) == 4 |
| 2 |
len(results["s00-raw"]["crowdsecurity/non-syslog"]) == 2 |
| 3 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Success == true |
| 4 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["message"] == "Feb 10 15:24:51 meshcentral https[26880]: Accepted password for admin from 79.78.1.1 port 2228" |
| 5 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["program"] == "meshcentral" |
| 6 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_path"] == "meshcentral-logs.log" |
| 7 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_type"] == "file" |
| 8 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Success == true |
| 9 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Parsed["message"] == "Feb 10 17:33:10 meshcentral https[26880]: Failed password for undefined from 85.209.1.1 port 57951" |
| 10 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Parsed["program"] == "meshcentral" |
| 11 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Meta["datasource_path"] == "meshcentral-logs.log" |
| 12 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Meta["datasource_type"] == "file" |
| 13 |
len(results["s00-raw"]["crowdsecurity/syslog-logs"]) == 2 |
| 14 |
results["s00-raw"]["crowdsecurity/syslog-logs"][0].Success == false |
| 15 |
results["s00-raw"]["crowdsecurity/syslog-logs"][1].Success == false |
| 16 |
len(results["s01-parse"]["a1ad/meshcentral-logs"]) == 2 |
| 17 |
results["s01-parse"]["a1ad/meshcentral-logs"][0].Success == false |
| 18 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Success == true |
| 19 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Parsed["source_ip"] == "85.209.1.1" |
| 20 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Parsed["timestamp"] == "Feb 10 17:33:10" |
| 21 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Parsed["username"] == "undefined" |
| 22 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Parsed["message"] == "Feb 10 17:33:10 meshcentral https[26880]: Failed password for undefined from 85.209.1.1 port 57951" |
| 23 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Parsed["program"] == "meshcentral" |
| 24 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["datasource_path"] == "meshcentral-logs.log" |
| 25 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["datasource_type"] == "file" |
| 26 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["log_type"] == "meshcentral_failed_auth" |
| 27 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["service"] == "meshcentral" |
| 28 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["source_ip"] == "85.209.1.1" |
| 29 |
results["s01-parse"]["a1ad/meshcentral-logs"][1].Evt.Meta["user"] == "undefined" |
| 30 |
len(results["s02-enrich"]["crowdsecurity/dateparse-enrich"]) == 1 |
| 31 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Success == true |
| 32 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["username"] == "undefined" |
| 33 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "Feb 10 17:33:10 meshcentral https[26880]: Failed password for undefined from 85.209.1.1 port 57951" |
| 34 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "meshcentral" |
| 35 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["source_ip"] == "85.209.1.1" |
| 36 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["timestamp"] == "Feb 10 17:33:10" |
| 37 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["user"] == "undefined" |
| 38 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "meshcentral-logs.log" |
| 39 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_type"] == "file" |
| 40 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["log_type"] == "meshcentral_failed_auth" |
| 41 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["service"] == "meshcentral" |
| 42 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "85.209.1.1" |
| 43 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2023-02-10T17:33:10Z" |
| 44 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2023-02-10T17:33:10Z" |
| 45 |
len(results["success"][""]) == 0 |