| 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:28:50.530Z,000000000000000E,2,192.168.9.241:143,192.168.9.212:35070,testuser,168,31,31,authenticate,PLAIN,\"R=\"\"2 NO AUTHENTICATE failed.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 7 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Parsed["program"] == "exchange-imap" |
| 8 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Meta["datasource_path"] == "exchange-imap-logs.log" |
| 9 |
results["s00-raw"]["crowdsecurity/windows-non-eventlog"][0].Evt.Meta["datasource_type"] == "file" |
| 10 |
len(results["s01-parse"]["crowdsecurity/exchange-imap-logs"]) == 1 |
| 11 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Success == true |
| 12 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["client_ip"] == "192.168.9.212" |
| 13 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["command"] == "authenticate" |
| 14 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["duration"] == "168" |
| 15 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["parameters"] == "PLAIN" |
| 16 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["program"] == "exchange-imap" |
| 17 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["date"] == "2022-07-20T21:28:50.530Z" |
| 18 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["rpsize"] == "31" |
| 19 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["session_id"] == "000000000000000E" |
| 20 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["username"] == "testuser" |
| 21 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["rqsize"] == "31" |
| 22 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["sequence_number"] == "2" |
| 23 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["server_port"] == "143" |
| 24 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["client_port"] == "35070" |
| 25 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["message"] == "2022-07-20T21:28:50.530Z,000000000000000E,2,192.168.9.241:143,192.168.9.212:35070,testuser,168,31,31,authenticate,PLAIN,\"R=\"\"2 NO AUTHENTICATE failed.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 26 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Parsed["server_ip"] == "192.168.9.241" |
| 27 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["source_ip"] == "192.168.9.212" |
| 28 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["sub_type"] == "auth_fail" |
| 29 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["datasource_path"] == "exchange-imap-logs.log" |
| 30 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 31 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["log_type"] == "imap" |
| 32 |
results["s01-parse"]["crowdsecurity/exchange-imap-logs"][0].Evt.Meta["service"] == "exchange" |
| 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["rpsize"] == "31" |
| 36 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["sequence_number"] == "2" |
| 37 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["server_ip"] == "192.168.9.241" |
| 38 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["username"] == "testuser" |
| 39 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["client_port"] == "35070" |
| 40 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "exchange-imap" |
| 41 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["duration"] == "168" |
| 42 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["client_ip"] == "192.168.9.212" |
| 43 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["command"] == "authenticate" |
| 44 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["date"] == "2022-07-20T21:28:50.530Z" |
| 45 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["rqsize"] == "31" |
| 46 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["session_id"] == "000000000000000E" |
| 47 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "2022-07-20T21:28:50.530Z,000000000000000E,2,192.168.9.241:143,192.168.9.212:35070,testuser,168,31,31,authenticate,PLAIN,\"R=\"\"2 NO AUTHENTICATE failed.\"\";Msg=\"\"AuthFailed:LogonDenied,User: testuser\"\";ErrMsg=AuthFailed:LogonDenied\"," |
| 48 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["parameters"] == "PLAIN" |
| 49 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["server_port"] == "143" |
| 50 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "exchange-imap-logs.log" |
| 51 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_type"] == "file" |
| 52 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["log_type"] == "imap" |
| 53 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["service"] == "exchange" |
| 54 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "192.168.9.212" |
| 55 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["sub_type"] == "auth_fail" |
| 56 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2022-07-20T21:28:50.53Z" |
| 57 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2022-07-20T21:28:50.53Z" |