From 0d439ed3516a06bb3a7c29031c062b13d93b9e14 Mon Sep 17 00:00:00 2001 From: DastInDark <2350416+hitenkoku@users.noreply.github.com> Date: Tue, 27 Sep 2022 14:20:00 +0900 Subject: [PATCH] added url link to rule yml #689 --- src/afterfact.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/afterfact.rs b/src/afterfact.rs index 13e58316..e51c8d7a 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -824,10 +824,11 @@ fn _print_detection_summary_tables( html_output_stock.push(format!("### {}", header_output)); for x in sorted_detections.iter() { html_output_stock.push(format!( - "- {} ({})", - rule_title_path_map + "- [{}]({}) ({})", + x.0 + ,rule_title_path_map .get(x.0) - .unwrap_or(&"".to_string()), + .unwrap_or(&"".to_string()).replace('\\', "/"), x.1.to_formatted_string(&Locale::en) )); }