| 1 |
len(results) == 3 |
| 2 |
len(results["s01-parse"]["crowdsecurity/smb-logs"]) == 2 |
| 3 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Success == true |
| 4 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Parsed["message"] == "Auth: [SMB2,(null)] user [WORKGROUP]\\[root] at [Thu, 14 Oct 2021 15:24:12.023984 UTC] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [MANTIS] remote host [ipv4:172.17.0.1:44890] mapped to [WORKGROUP]\\[root]. local host [ipv4:172.17.0.2:445] " |
| 5 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Parsed["program"] == "smb" |
| 6 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Parsed["smb_domain"] == "WORKGROUP" |
| 7 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Parsed["user"] == "root" |
| 8 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Parsed["ip_source"] == "172.17.0.1" |
| 9 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["log_type"] == "smb_failed_auth" |
| 10 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["source_ip"] == "172.17.0.1" |
| 11 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["subtype"] == "smb_bad_user" |
| 12 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["user"] == "root" |
| 13 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["datasource_path"] == "smb-logs.log" |
| 14 |
results["s01-parse"]["crowdsecurity/smb-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 15 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Success == true |
| 16 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Parsed["ip_source"] == "172.17.0.1" |
| 17 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Parsed["message"] == "Auth: [SMB2,(null)] user [WORKGROUP]\\[administrator] at [Thu, 14 Oct 2021 15:24:16.248504 UTC] with [NTLMv2] status [NT_STATUS_WRONG_PASSWORD] workstation [MANTIS] remote host [ipv4:172.17.0.1:44896] mapped to [WORKGROUP]\\[administrator]. local host [ipv4:172.17.0.2:445] " |
| 18 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Parsed["program"] == "smb" |
| 19 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Parsed["smb_domain"] == "WORKGROUP" |
| 20 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Parsed["user"] == "administrator" |
| 21 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["datasource_path"] == "smb-logs.log" |
| 22 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["datasource_type"] == "file" |
| 23 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["log_type"] == "smb_failed_auth" |
| 24 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["source_ip"] == "172.17.0.1" |
| 25 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["subtype"] == "smb_bad_password" |
| 26 |
results["s01-parse"]["crowdsecurity/smb-logs"][1].Evt.Meta["user"] == "administrator" |