added url link to rule yml #689
This commit is contained in:
@@ -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)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user