Merge branch 'main' into 681-bug-custom-config-directory-doesnt-load-target_event_idstxt

This commit is contained in:
DustInDark
2022-09-05 08:55:17 +09:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
- ログオン情報の要約オプションを追加した場合に、Hayabusaがクラッシュしていたのを修正した。 (#674) (@hitenkoku)
- configオプションで指定したルールコンフィグの読み込みができていない問題を修正した。 (#681) (@hitenkoku)
- 結果概要のtotal eventsで読み込んだレコード数が出力されていたのを、検査対象にしているevtxファイルの実際のレコード数に修正した。 (#683) (@hitenkoku)
## v1.5.1 [2022/08/20]

View File

@@ -16,6 +16,7 @@
- Hayabusa would crash with `-L` option (logon summary option). (#674) (@hitenkoku)
- Hayabusa would continue to scan without the correct config files but now will print and error and gracefully terminate. (#681) (@hitenkoku)
- Fixed total events from the number of scanned events to actual events in evtx. (#683) (@hitenkoku)
## v1.5.1 [2022/08/20]

View File

@@ -587,6 +587,7 @@ impl App {
let mut tl = Timeline::new();
let mut parser = parser.unwrap();
let mut records = parser.records_json_value();
loop {
let mut records_per_detect = vec![];
while records_per_detect.len() < MAX_DETECT_RECORDS {
@@ -595,6 +596,7 @@ impl App {
if next_rec.is_none() {
break;
}
record_cnt += 1;
let record_result = next_rec.unwrap();
if record_result.is_err() {
@@ -636,8 +638,6 @@ impl App {
break;
}
record_cnt += records_per_detect.len();
let records_per_detect = self.rt.block_on(App::create_rec_infos(
records_per_detect,
&path,