Skip to content

Commit

Permalink
fix: count rules's output in json-timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed May 7, 2024
1 parent a09166b commit 7341609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detections/detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ impl Detection {

let detect_info = message::create_message(
&Value::default(),
CompactString::new(rule.yaml["details"].as_str().unwrap_or("-")),
CompactString::from(detect_info.detail.as_str()),
detect_info,
&profile_converter,
(true, is_json_timeline),
Expand Down

0 comments on commit 7341609

Please sign in to comment.