| 1 |
len(results["s01-parse"]["crowdsecurity/iptables-logs"]) == 4 |
| 2 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Success == true |
| 3 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["program"] == "kernel" |
| 4 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["timestamp"] == "Jun 8 14:34:33" |
| 5 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["dst_port"] == "8123" |
| 6 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["message"] == "[50028442.088484] IN=enp1s0 OUT= MAC=00:08:a2:0c:1f:12:00:c8:8b:e2:d6:87:08:00 SRC=195.54.160.107 DST=51.15.166.67 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=37308 PROTO=TCP SPT=8080 DPT=8123 WINDOW=1024 RES=0x00 SYN URGP=0" |
| 7 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["proto"] == "TCP" |
| 8 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["logsource"] == "syslog" |
| 9 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["int_eth"] == "enp1s0" |
| 10 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["length"] == "40" |
| 11 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["src_ip"] == "195.54.160.107" |
| 12 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["src_port"] == "8080" |
| 13 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Parsed["dst_ip"] == "51.15.166.67" |
| 14 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["datasource_path"] == "iptables-logs.log" |
| 15 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["datasource_type"] == "file" |
| 16 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["log_type"] == "iptables_drop" |
| 17 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["machine"] == "sd-126005" |
| 18 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["service"] == "tcp" |
| 19 |
results["s01-parse"]["crowdsecurity/iptables-logs"][0].Evt.Meta["source_ip"] == "195.54.160.107" |
| 20 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Success == true |
| 21 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["timestamp"] == "Jun 8 14:34:33" |
| 22 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["program"] == "kernel" |
| 23 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["src_ip"] == "195.54.160.107" |
| 24 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["src_port"] == "8080" |
| 25 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["dst_ip"] == "51.15.166.67" |
| 26 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["int_eth"] == "enp.1s0" |
| 27 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["logsource"] == "syslog" |
| 28 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["message"] == "[50028442.088484] IN=enp.1s0 OUT= MAC=00:08:a2:0c:1f:12:00:c8:8b:e2:d6:87:08:00 SRC=195.54.160.107 DST=51.15.166.67 LEN=40 TOS=0x00 PREC=0x00 TTL=245 ID=37308 PROTO=TCP SPT=8080 DPT=8123 WINDOW=1024 RES=0x00 SYN URGP=0" |
| 29 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["proto"] == "TCP" |
| 30 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["dst_port"] == "8123" |
| 31 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Parsed["length"] == "40" |
| 32 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["datasource_type"] == "file" |
| 33 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["log_type"] == "iptables_drop" |
| 34 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["machine"] == "sd-126005" |
| 35 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["service"] == "tcp" |
| 36 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["source_ip"] == "195.54.160.107" |
| 37 |
results["s01-parse"]["crowdsecurity/iptables-logs"][1].Evt.Meta["datasource_path"] == "iptables-logs.log" |
| 38 |
results["s01-parse"]["crowdsecurity/iptables-logs"][2].Success == false |
| 39 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Success == true |
| 40 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["int_eth"] == "lo" |
| 41 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["length"] == "76" |
| 42 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["logsource"] == "syslog" |
| 43 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["program"] == "kernel" |
| 44 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["dst_ip"] == "127.0.0.53" |
| 45 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["dst_port"] == "53" |
| 46 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["proto"] == "UDP" |
| 47 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["src_ip"] == "127.0.0.1" |
| 48 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["src_port"] == "49007" |
| 49 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["timestamp"] == "Sep 27 20:56:38" |
| 50 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Parsed["message"] == "[ 203.842973] IPTABLES-DROP: IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.53 LEN=76 TOS=0x00 PREC=0x00 TTL=64 ID=25029 DF PROTO=UDP SPT=49007 DPT=53 LEN=56 " |
| 51 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["log_type"] == "iptables_drop" |
| 52 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["machine"] == "ubuntu-focal" |
| 53 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["service"] == "tcp" |
| 54 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["source_ip"] == "127.0.0.1" |
| 55 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["datasource_path"] == "iptables-logs.log" |
| 56 |
results["s01-parse"]["crowdsecurity/iptables-logs"][3].Evt.Meta["datasource_type"] == "file" |