added url link to rule yml #689

This commit is contained in:
DastInDark
2022-09-27 14:20:00 +09:00
parent 974ec45c9f
commit 0d439ed351

View File

@@ -824,10 +824,11 @@ fn _print_detection_summary_tables(
html_output_stock.push(format!("### {}", header_output)); html_output_stock.push(format!("### {}", header_output));
for x in sorted_detections.iter() { for x in sorted_detections.iter() {
html_output_stock.push(format!( html_output_stock.push(format!(
"- {} ({})", "- [{}]({}) ({})",
rule_title_path_map x.0
,rule_title_path_map
.get(x.0) .get(x.0)
.unwrap_or(&"<Not Found Path>".to_string()), .unwrap_or(&"<Not Found Path>".to_string()).replace('\\', "/"),
x.1.to_formatted_string(&Locale::en) x.1.to_formatted_string(&Locale::en)
)); ));
} }