You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Normally, an existing Data field index is specified in details, but in rare cases (e.g. JSON input), there is no Data field, which causes a panic.
Step to Reproduce
Save the following rule with the file name test.yml.
% ./hayabusa-2.10.0-mac-arm csv-timeline -f ../apt29_evals_day1_manual_2020-05-01225525.json -J -r test.yml -w -q
Start time: 2023/11/12 21:57
Total event log files: 1
Total file size: 385.3 MB
Loading detection rules. Please wait.
Test rules: 1 (100.00%)
Hayabusa rules: 1
Total enabled detection rules: 1
Output profile: standard
Scanning in progress. Please wait.
[00:00:00] 0 / 1 ⠁ [ ] 0%
"../apt29_evals_day1_manual_2020-05-01225525.json" thread 'hayabusa-thread' panicked at src/detections/message.rs:324:18:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at src/detections/detection.rs:176:41:
called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(1009), ...)
Expected behavior
panic does not occur.
Environment
OS: macOS sonoma 14.0
hayabusa version 2.10.0 (I haven't confirmed this, but it seems like this is probably an issue that existed in previous versions)
The text was updated successfully, but these errors were encountered:
Describe the bug
Normally, an existing
Data
field index is specified indetails
, but in rare cases (e.g. JSON input), there is noData
field, which causes a panic.Step to Reproduce
./hayabusa-2.10.0-mac-arm csv-timeline -f ../apt29_evals_day1_manual_2020-05-01225525.json -J -r test.yml -w -q
Actual behavior
panic occurs as follows:
Expected behavior
panic does not occur.
Environment
The text was updated successfully, but these errors were encountered: