@@ -146,24 +146,24 @@ sequence by hostname with maxspan=1s
146146time = 7.880767107009888
147147type = " sequence"
148148
149- # [[queries]]
150- # queryNo = 10
151- # case_insensitive = true
152- # count = 10
153- # expected_event_ids = [3940731, 3940732, 3941991, 3941995, 3942330, 3942334, 3942862, 3942863, 3943079, 3943083, 3943496, 3943501, 3943887, 3943893, 3944253, 3944254, 3945063, 3945071, 3945287, 3945292]
154- # filter_counts = [64209, 56911]
155- # filters = [
156- # 'network where hostname == "newyork" and destination_port in (135, 139, 445, 3389)',
157- # 'security where hostname == "newyork" and event_id == 4624'
158- # ]
159- # query = '''
160- # sequence by hostname with maxspan=1m
161- # [network where hostname == "newyork" and destination_port in (135, 139, 445, 3389)] by source_port, source_address
162- # [security where hostname == "newyork" and event_id == 4624] by source_port, ip_address
163- # | tail 10
164- # '''
165- # time = 11.688340187072754
166- # type = "sequence"
149+ [[queries ]]
150+ queryNo = 10
151+ case_insensitive = true
152+ count = 10
153+ expected_event_ids = [3940731 , 3940732 , 3941991 , 3941995 , 3942330 , 3942334 , 3942862 , 3942863 , 3943079 , 3943083 , 3943496 , 3943501 , 3943887 , 3943893 , 3944253 , 3944254 , 3945063 , 3945071 , 3945287 , 3945292 ]
154+ filter_counts = [64209 , 56911 ]
155+ filters = [
156+ ' network where hostname == "newyork" and destination_port in (135, 139, 445, 3389)' ,
157+ ' security where hostname == "newyork" and event_id == 4624'
158+ ]
159+ query = '''
160+ sequence by hostname with maxspan=1m
161+ [network where hostname == "newyork" and destination_port in (135, 139, 445, 3389)] by source_port, source_address
162+ [security where hostname == "newyork" and event_id == 4624] by source_port, ip_address
163+ | tail 10
164+ '''
165+ time = 11.688340187072754
166+ type = " sequence"
167167
168168[[queries ]]
169169queryNo = 11
@@ -599,25 +599,25 @@ type = "sequence"
599599# time = 8.868574619293213
600600# type = "sequence"
601601#
602- # [[queries]]
603- # queryNo = 34
604- # case_insensitive = true
605- # count = 0
606- # expected_event_ids = []
607- # filter_counts = [4, 2, 54954, 394]
608- # filters = [
609- # 'process where process_name == "net.exe"',
610- # 'process where process_name == "net1.exe"',
611- # "network where destination_port == 445",
612- # "file where pid == 4"
613- # ]
614- # query = """
615- # sequence with maxspan=10s
616- # [process where process_name == "net.exe"]
617- # [process where process_name == "net1.exe"]
618- # [network where destination_port == 445]
619- # [file where pid == 4]
620- # | tail 3
621- # """
622- # time = 5.871383905410767
623- # type = "sequence"
602+ [[queries ]]
603+ queryNo = 34
604+ case_insensitive = true
605+ count = 0
606+ expected_event_ids = []
607+ filter_counts = [4 , 2 , 54954 , 394 ]
608+ filters = [
609+ ' process where process_name == "net.exe"' ,
610+ ' process where process_name == "net1.exe"' ,
611+ " network where destination_port == 445" ,
612+ " file where pid == 4"
613+ ]
614+ query = """
615+ sequence with maxspan=10s
616+ [process where process_name == "net.exe"]
617+ [process where process_name == "net1.exe"]
618+ [network where destination_port == 445]
619+ [file where pid == 4]
620+ | tail 3
621+ """
622+ time = 5.871383905410767
623+ type = " sequence"
0 commit comments