Skip to content

Commit

Permalink
fix: add enable_all_rules option required restriction for J option
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed May 8, 2024
1 parent 963712c commit bc45069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detections/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ impl Action {
#[derive(Args, Clone, Debug)]
pub struct DetectCommonOption {
/// Scan JSON formatted logs instead of .evtx (.json or .jsonl)
#[arg(help_heading = Some("General Options"), short = 'J', long = "JSON-input", conflicts_with = "live_analysis", display_order = 360)]
#[arg(help_heading = Some("General Options"), short = 'J', long = "JSON-input", conflicts_with = "live_analysis", requires="enable_all_rules", display_order = 360)]
pub json_input: bool,

/// Specify additional evtx file extensions (ex: evtx_data)
Expand Down

0 comments on commit bc45069

Please sign in to comment.