excluded detections rules output when metrics and logon_summary #730

This commit is contained in:
DastInDark
2022-10-07 12:49:59 +09:00
parent 2427d9507b
commit a68e341135

View File

@@ -623,8 +623,10 @@ impl App {
let total_size_output = format!("Total file size: {}", total_file_size.to_string_as(false));
println!("{}", total_size_output);
println!();
println!("Loading detections rules. Please wait.");
println!();
if !(configs::CONFIG.read().unwrap().args.metrics || configs::CONFIG.read().unwrap().args.logon_summary) {
println!("Loading detections rules. Please wait.");
println!();
}
if configs::CONFIG.read().unwrap().args.html_report.is_some() {
let output_data = vec![