diff --git a/src/afterfact.rs b/src/afterfact.rs index a19a01b7..48a1d682 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -45,7 +45,7 @@ pub fn after_fact() { let mut displayflag = false; let mut target: Box = - if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("output") { + if let Some(csv_path) = configs::CONFIG.read().unwrap().args.value_of("details") { // ファイル出力する場合 match File::create(csv_path) { Ok(file) => Box::new(BufWriter::new(file)), diff --git a/src/detections/detection.rs b/src/detections/detection.rs index a2685b9d..dfcf0ddf 100644 --- a/src/detections/detection.rs +++ b/src/detections/detection.rs @@ -187,7 +187,7 @@ impl Detection { .unwrap_or("-".to_owned()) .to_string(), rule.yaml["title"].as_str().unwrap_or("").to_string(), - rule.yaml["output"].as_str().unwrap_or("").to_string(), + rule.yaml["details"].as_str().unwrap_or("").to_string(), ); }