| 1 |
len(results) == 4 |
| 2 |
len(results["s00-raw"]["crowdsecurity/windows-eventlog"]) == 1 |
| 3 |
results["s00-raw"]["crowdsecurity/windows-eventlog"][0].Success == false |
| 4 |
len(results["s00-raw"]["crowdsecurity/windows-non-eventlog"]) == 1 |
| 5 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Success == true |
| 6 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Parsed["message"] == "2022-07-20T21:23:48.514Z,0000000000000005,1,192.168.9.241:110,192.168.9.212:55576,testuser,193,21,69,auth, PLAIN,\"R=\"\"-ERR Authentication failure: unknown user name or bad password.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 7 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Parsed["program"] == "exchange-pop" |
| 8 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Meta["datasource_path"] == "exchange-pop-logs.log" |
| 9 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Meta["datasource_type"] == "file" |
| 10 |
len(results["s01-parse"]["crowdsecurity/exchange-pop-logs"]) == 1 |
| 11 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Success == true |
| 12 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["client_ip"] == "192.168.9.212" |
| 13 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["duration"] == "193" |
| 14 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["server_port"] == "110" |
| 15 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["client_port"] == "55576" |
| 16 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["date"] == "2022-07-20T21:23:48.514Z" |
| 17 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["parameters"] == " PLAIN" |
| 18 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["session_id"] == "0000000000000005" |
| 19 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["command"] == "auth" |
| 20 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["sequence_number"] == "1" |
| 21 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["server_ip"] == "192.168.9.241" |
| 22 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["username"] == "testuser" |
| 23 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["message"] == "2022-07-20T21:23:48.514Z,0000000000000005,1,192.168.9.241:110,192.168.9.212:55576,testuser,193,21,69,auth, PLAIN,\"R=\"\"-ERR Authentication failure: unknown user name or bad password.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 24 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["program"] == "exchange-pop" |
| 25 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["rpsize"] == "69" |
| 26 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Parsed["rqsize"] == "21" |
| 27 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["datasource_path"] == "exchange-pop-logs.log" |
| 28 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 29 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["log_type"] == "pop" |
| 30 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["service"] == "exchange" |
| 31 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["source_ip"] == "192.168.9.212" |
| 32 |
results["s01-parse"]["crowdsecurity/exchange-pop-logs"][0].Evt.Meta["sub_type"] == "auth_fail" |
| 33 |
len(results["s02-enrich"]["crowdsecurity/dateparse-enrich"]) == 1 |
| 34 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Success == true |
| 35 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["duration"] == "193" |
| 36 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "2022-07-20T21:23:48.514Z,0000000000000005,1,192.168.9.241:110,192.168.9.212:55576,testuser,193,21,69,auth, PLAIN,\"R=\"\"-ERR Authentication failure: unknown user name or bad password.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 37 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["rqsize"] == "21" |
| 38 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["command"] == "auth" |
| 39 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["sequence_number"] == "1" |
| 40 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["server_ip"] == "192.168.9.241" |
| 41 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "exchange-pop" |
| 42 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["session_id"] == "0000000000000005" |
| 43 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["username"] == "testuser" |
| 44 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["client_port"] == "55576" |
| 45 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["date"] == "2022-07-20T21:23:48.514Z" |
| 46 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["parameters"] == " PLAIN" |
| 47 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["rpsize"] == "69" |
| 48 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["server_port"] == "110" |
| 49 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["client_ip"] == "192.168.9.212" |
| 50 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["service"] == "exchange" |
| 51 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "192.168.9.212" |
| 52 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["sub_type"] == "auth_fail" |
| 53 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2022-07-20T21:23:48.514Z" |
| 54 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "exchange-pop-logs.log" |
| 55 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_type"] == "file" |
| 56 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["log_type"] == "pop" |
| 57 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2022-07-20T21:23:48.514Z" |