Skip to content

Commit

Permalink
chg: ignore channel filter when J option
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed May 9, 2024
1 parent 963712c commit b80ee7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b80ee7e

Please sign in to comment.