From 8c212b7524cd1e34bc3070344cef8791d2595d6a Mon Sep 17 00:00:00 2001 From: Yamato Security <71482215+YamatoSecurity@users.noreply.github.com> Date: Sun, 9 Oct 2022 06:07:38 +0900 Subject: [PATCH] update changelog --- CHANGELOG.md | 4 ++-- src/afterfact.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c21de01..3a8b6a90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,11 @@ - Hayabusa now checks Channel and EID information based on `rules/config/channel_eid_info.txt` to provide more accurate results. (#463) (@garigariganzy) - Do not display a message about loading detection rules when using the `-M` or `-L` options. (#730) (@hitenkoku) -- Added output of detected rule authors in standard output. (#724) (@hitenkoku) +- Added a table of rule authors to standard output. (#724) (@hitenkoku) **Bug Fixes:** -- Fixed duplicate event outputted with metric option due to sum up of event IDs key name. (#729) (@hitenkoku) +- Fixed a bug where the same Channel and EID would be counted seperately with the `-M` option. (#729) (@hitenkoku) ## 1.7.0 [2022/09/29] diff --git a/src/afterfact.rs b/src/afterfact.rs index e2a2aa2d..1286acbf 100644 --- a/src/afterfact.rs +++ b/src/afterfact.rs @@ -422,7 +422,7 @@ fn emit_csv( write_color_buffer( &disp_wtr, get_writable_color(Some(Color::Rgb(0, 255, 0))), - "Rules brought to you by:", + "Rule Authors:", false, ) .ok(); @@ -1189,7 +1189,7 @@ fn output_detected_rule_authors(rule_author_counter: HashMap) { for y in 0..div { if y * 4 + x < sorted_authors.len() { tmp.push(format!( - "{}({})", + "{} ({})", sorted_authors[y * 4 + x].0, sorted_authors[y * 4 + x].1 ));