| 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"] == "2023/02/21 08:05:56.233208 [error] POST 127.0.0.1 /control/login: invalid username or password" |
| 5 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["program"] == "adguardhome" |
| 6 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_path"] == "adguardhome-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"] == "2023/02/21 08:06:24.400712 [info] auth: user \"realuser\" successfully logged in from ip 127.0.0.1" |
| 10 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Parsed["program"] == "adguardhome" |
| 11 |
results["s00-raw"]["crowdsecurity/non-syslog"][1].Evt.Meta["datasource_path"] == "adguardhome-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"]["LePresidente/adguardhome-logs"]) == 2 |
| 17 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Success == true |
| 18 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Parsed["program"] == "adguardhome" |
| 19 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Parsed["source_ip"] == "127.0.0.1" |
| 20 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Parsed["time"] == "08:05:56.233208" |
| 21 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Parsed["date"] == "2023/02/21" |
| 22 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Parsed["message"] == "2023/02/21 08:05:56.233208 [error] POST 127.0.0.1 /control/login: invalid username or password" |
| 23 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Meta["datasource_path"] == "adguardhome-logs.log" |
| 24 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 25 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Meta["log_type"] == "adguardhome_failed_auth" |
| 26 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Meta["service"] == "adguardhome" |
| 27 |
results["s01-parse"]["LePresidente/adguardhome-logs"][0].Evt.Meta["source_ip"] == "127.0.0.1" |
| 28 |
results["s01-parse"]["LePresidente/adguardhome-logs"][1].Success == false |
| 29 |
len(results["s02-enrich"]["crowdsecurity/dateparse-enrich"]) == 1 |
| 30 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Success == true |
| 31 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "adguardhome" |
| 32 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["source_ip"] == "127.0.0.1" |
| 33 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["time"] == "08:05:56.233208" |
| 34 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["date"] == "2023/02/21" |
| 35 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "2023/02/21 08:05:56.233208 [error] POST 127.0.0.1 /control/login: invalid username or password" |
| 36 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "127.0.0.1" |
| 37 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2023-02-21T08:05:56.233208Z" |
| 38 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "adguardhome-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"] == "adguardhome_failed_auth" |
| 41 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["service"] == "adguardhome" |
| 42 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2023-02-21T08:05:56.233208Z" |
| 43 |
len(results["success"][""]) == 0 |