| 1 |
len(results) == 4 |
| 2 |
len(results["s00-raw"]["crowdsecurity/non-syslog"]) == 1 |
| 3 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Success == true |
| 4 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["message"] == "127.0.0.1 - - [14/Oct/2022:09:55:53 +0200] \"PUT /api/v2/cmdb/system/admin/hes HTTP/1.1\" 404 134 \"-\" \"Report Runner\"" |
| 5 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Parsed["program"] == "nginx" |
| 6 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_path"] == "CVE-2022-40684.log" |
| 7 |
results["s00-raw"]["crowdsecurity/non-syslog"][0].Evt.Meta["datasource_type"] == "file" |
| 8 |
len(results["s00-raw"]["crowdsecurity/syslog-logs"]) == 1 |
| 9 |
results["s00-raw"]["crowdsecurity/syslog-logs"][0].Success == false |
| 10 |
len(results["s01-parse"]["crowdsecurity/nginx-logs"]) == 1 |
| 11 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Success == true |
| 12 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["remote_addr"] == "127.0.0.1" |
| 13 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["remote_user"] == "-" |
| 14 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["status"] == "404" |
| 15 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["time_local"] == "14/Oct/2022:09:55:53 +0200" |
| 16 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["request"] == "/api/v2/cmdb/system/admin/hes" |
| 17 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["body_bytes_sent"] == "134" |
| 18 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["http_referer"] == "-" |
| 19 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["http_user_agent"] == "Report Runner" |
| 20 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["message"] == "127.0.0.1 - - [14/Oct/2022:09:55:53 +0200] \"PUT /api/v2/cmdb/system/admin/hes HTTP/1.1\" 404 134 \"-\" \"Report Runner\"" |
| 21 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["http_version"] == "1.1" |
| 22 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["program"] == "nginx" |
| 23 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Parsed["verb"] == "PUT" |
| 24 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["source_ip"] == "127.0.0.1" |
| 25 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["datasource_path"] == "CVE-2022-40684.log" |
| 26 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["log_type"] == "http_access-log" |
| 27 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["service"] == "http" |
| 28 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["http_user_agent"] == "Report Runner" |
| 29 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["http_verb"] == "PUT" |
| 30 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 31 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["http_path"] == "/api/v2/cmdb/system/admin/hes" |
| 32 |
results["s01-parse"]["crowdsecurity/nginx-logs"][0].Evt.Meta["http_status"] == "404" |
| 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["http_user_agent"] == "Report Runner" |
| 36 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["status"] == "404" |
| 37 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["body_bytes_sent"] == "134" |
| 38 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["remote_user"] == "-" |
| 39 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["request"] == "/api/v2/cmdb/system/admin/hes" |
| 40 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["http_referer"] == "-" |
| 41 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["http_version"] == "1.1" |
| 42 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["message"] == "127.0.0.1 - - [14/Oct/2022:09:55:53 +0200] \"PUT /api/v2/cmdb/system/admin/hes HTTP/1.1\" 404 134 \"-\" \"Report Runner\"" |
| 43 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["verb"] == "PUT" |
| 44 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["program"] == "nginx" |
| 45 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["remote_addr"] == "127.0.0.1" |
| 46 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Parsed["time_local"] == "14/Oct/2022:09:55:53 +0200" |
| 47 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["service"] == "http" |
| 48 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["source_ip"] == "127.0.0.1" |
| 49 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["timestamp"] == "2022-10-14T09:55:53+02:00" |
| 50 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_path"] == "CVE-2022-40684.log" |
| 51 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["http_path"] == "/api/v2/cmdb/system/admin/hes" |
| 52 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["http_status"] == "404" |
| 53 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["http_verb"] == "PUT" |
| 54 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["datasource_type"] == "file" |
| 55 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["http_user_agent"] == "Report Runner" |
| 56 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Meta["log_type"] == "http_access-log" |
| 57 |
results["s02-enrich"]["crowdsecurity/dateparse-enrich"][0].Evt.Enriched["MarshaledTime"] == "2022-10-14T09:55:53+02:00" |
| 58 |
len(results["success"][""]) == 0 |