From b80ee7e97d1c21ac40d0bcc617efe03e973c50f8 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Thu, 9 May 2024 20:20:35 +0900 Subject: [PATCH] chg: ignore channel filter when J option --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index aba878ef2..334c9af26 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1432,7 +1432,10 @@ impl App { .ok(); return; } - if !stored_static.scan_all_evtx_files && !stored_static.enable_all_rules { + if !stored_static.json_input_flag + && !stored_static.scan_all_evtx_files + && !stored_static.enable_all_rules + { println!("Creating the channel filter. Please wait."); println!(); let mut channel_filter = create_channel_filter(&evtx_files, &rule_files);