diff --git a/src/afterfact.rs b/src/afterfact.rs index 5dbbc2876..0e7995b78 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -1903,7 +1903,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv.csv").to_path_buf()), @@ -1992,7 +1992,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) @@ -2231,7 +2231,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv_multiline.csv").to_path_buf()), @@ -2322,7 +2322,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) @@ -2547,7 +2547,7 @@ mod tests { no_field: false, remove_duplicate_data: true, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv_remove_duplicate.csv").to_path_buf()), @@ -2636,7 +2636,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) @@ -2872,7 +2872,7 @@ mod tests { no_field: false, remove_duplicate_data: true, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv_remove_duplicate.json").to_path_buf()), @@ -2961,7 +2961,7 @@ mod tests { no_field: false, remove_duplicate_data: true, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) @@ -3282,7 +3282,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let data: Vec<(CompactString, Profile)> = vec![ ( @@ -3421,7 +3421,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv_json.json").to_path_buf()), @@ -3509,7 +3509,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) @@ -3686,7 +3686,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv_jsonl.jsonl").to_path_buf()), @@ -3774,7 +3774,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }; let ch = mock_ch_filter .get(&CompactString::from("security")) diff --git a/src/detections/detection.rs b/src/detections/detection.rs index 73d3fda9e..5aa3c0185 100644 --- a/src/detections/detection.rs +++ b/src/detections/detection.rs @@ -1248,7 +1248,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -1509,7 +1509,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: Some(Path::new("test_files/mmdb").to_path_buf()), output: Some(Path::new("./test_emit_csv.csv").to_path_buf()), @@ -1644,7 +1644,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: Some(Path::new("test_files/mmdb").to_path_buf()), output: Some(Path::new("./test_emit_csv.csv").to_path_buf()), @@ -1775,7 +1775,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv.csv").to_path_buf()), @@ -1919,7 +1919,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: Some(Path::new("./test_emit_csv.csv").to_path_buf()), diff --git a/src/detections/rule/condition_parser.rs b/src/detections/rule/condition_parser.rs index b3b01b822..0af6f71a4 100644 --- a/src/detections/rule/condition_parser.rs +++ b/src/detections/rule/condition_parser.rs @@ -608,7 +608,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/detections/rule/count.rs b/src/detections/rule/count.rs index 1383e97ca..086f6fd13 100644 --- a/src/detections/rule/count.rs +++ b/src/detections/rule/count.rs @@ -632,7 +632,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/detections/rule/matchers.rs b/src/detections/rule/matchers.rs index 2768504c3..9387504f7 100644 --- a/src/detections/rule/matchers.rs +++ b/src/detections/rule/matchers.rs @@ -871,7 +871,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/detections/rule/mod.rs b/src/detections/rule/mod.rs index 002fa978c..0a734e4f6 100644 --- a/src/detections/rule/mod.rs +++ b/src/detections/rule/mod.rs @@ -452,7 +452,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/detections/rule/selectionnodes.rs b/src/detections/rule/selectionnodes.rs index 404068474..c9a013940 100644 --- a/src/detections/rule/selectionnodes.rs +++ b/src/detections/rule/selectionnodes.rs @@ -575,7 +575,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/detections/utils.rs b/src/detections/utils.rs index 2743fad0a..b44006446 100644 --- a/src/detections/utils.rs +++ b/src/detections/utils.rs @@ -1058,7 +1058,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/main.rs b/src/main.rs index 065634c39..51d943599 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1010,7 +1010,7 @@ impl App { || stored_static.logon_summary_flag || stored_static.search_flag || stored_static.computer_metrics_flag - || stored_static.output_option.as_ref().unwrap().no_ask_flag) + || stored_static.output_option.as_ref().unwrap().no_wizard) { println!("Scan wizard:"); println!(); diff --git a/src/options/htmlreport.rs b/src/options/htmlreport.rs index bc9431a88..b8494a09e 100644 --- a/src/options/htmlreport.rs +++ b/src/options/htmlreport.rs @@ -298,7 +298,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -362,7 +362,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -429,7 +429,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, jsonl_timeline: false, geo_ip: None, @@ -493,7 +493,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, jsonl_timeline: false, geo_ip: None, diff --git a/src/options/profile.rs b/src/options/profile.rs index d39e1e06e..1be2f49cd 100644 --- a/src/options/profile.rs +++ b/src/options/profile.rs @@ -475,7 +475,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -600,7 +600,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -675,7 +675,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, @@ -780,7 +780,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None, diff --git a/src/yaml.rs b/src/yaml.rs index f8eb0541f..a58ea049b 100644 --- a/src/yaml.rs +++ b/src/yaml.rs @@ -555,7 +555,7 @@ mod tests { no_field: false, remove_duplicate_data: false, remove_duplicate_detections: false, - no_ask_flag: true, + no_wizard: true, }, geo_ip: None, output: None,