Feat: output detected rule's title

This commit is contained in:
itiB
2020-12-17 18:55:56 +09:00
parent c7dd0adfe1
commit 857e22e6f8
3 changed files with 51 additions and 22 deletions

View File

@@ -44,6 +44,7 @@ impl Detection {
message.insert(
event_record,
rule.yaml["title"].as_str().unwrap_or("").to_string(),
rule.yaml["output"].as_str().unwrap_or("").to_string(),
)
});