Skip to content

Commit

Permalink
chg: if --enable-all-rules/--scan-all-evtx-files on skip filtering pr…
Browse files Browse the repository at this point in the history
…ocess
  • Loading branch information
fukusuket committed Apr 29, 2024
1 parent 0e9cfe8 commit 36bf6cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,6 @@ impl App {
println!("{evtx_files_after_channel_filter}");
}
if !stored_static.enable_all_rules
|| stored_static.output_option.as_ref().unwrap().rules != PathBuf::from("./rules")
{
rule_files.retain(|r| channel_filter.rulepathes.contains(&r.rulepath));
let rules_after_channel_filter = format!(
Expand Down

0 comments on commit 36bf6cf

Please sign in to comment.