Fixed small bug in pipeline (two | | back to back)

This commit is contained in:
David Dorsey
2021-05-13 12:55:57 -05:00
parent a0b9c4290d
commit f29b5e8d38
@@ -224,7 +224,7 @@ search: ' $ssa_input = | from read_ssa_enriched_events() | eval device=ucast(map
OR process_name="xcopy.exe" OR process_name="xpsrchvw.exe" OR process_name="xwizard.exe";
| from $cond_1 | union $cond_2 | union $cond_3 | union $cond_4 | union $cond_5 |
union $cond_6 | | where process_path NOT LIKE "%\\windows\\system32%" OR process_path
union $cond_6 | where process_path NOT LIKE "%\\windows\\system32%" OR process_path
NOT LIKE "%\\windows\\syswow64%" | eval start_time=timestamp, end_time=timestamp,
entities=mvappend(device, user), body=create_map(["process_path", process_path,
"process_name", process_name]) | into write_ssa_detected_events();'