Skip to content

Commit

Permalink
fix: output agg result string when allfieldinfo profile
Browse files Browse the repository at this point in the history
  • Loading branch information
fukusuket committed Oct 14, 2024
1 parent 7aed9fe commit e53e4da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/detections/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,12 @@ pub fn create_message(
key.to_owned(),
AllFieldInfo(detect_info.detail.clone().into()),
));
if is_json_timeline {
record_details_info_map.insert(
"#AllFieldInfo".into(),
vec![CompactString::new(detect_info.detail.clone())],
);
}
} else {
let recinfos = if let Some(c) = record_details_info_map.get("#AllFieldInfo") {
c.to_owned()
Expand Down

0 comments on commit e53e4da

Please sign in to comment.