-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for multiple key grouping in count condition #1341
Conversation
Check #1341 (comment) resultI confirmed the validity of #1341 (comment) result with the following results.
title: Checking
details: '' #Cannot be used because this is a count rule
description: Checking
id: 45e8a0fc-60c2-46d7-ba39-aafb15b9854e
level: medium
status: stable
logsource:
product: windows
service: security
detection:
selection:
Channel: Security
EventID: 4625
filter:
IpAddress: "-"
condition: selection and not filter
|
#1339 (comment)I confirmed that the output has changed as shown below. before:
after:
|
@fukusuket Thanks so much! Very nice! Just a couple additional things. I am testing with this: and get these results:
If any of these are difficult we can separate to a different issue. Also, I found one bigger issue. The results are not outputted with
|
@YamatoSecurity
This is a bug... :( so we'll fix it! |
I fixed above case as follows. Could you confirm it?🙏
|
@fukusuket Thanks so much! How difficult is it to output in the following way?:
If it requires many changes then we can leave it as it is for now. |
@YamatoSecurity |
For example, we should consider the following:
(memo: Takajo expects the top level field to be a single value) |
These are all very good questions! Indeed, let's think about this and how it affects JSON importing, etc.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fukusuket LGTM!
What Changed
count
#1339Evidence
multiple key grouping
I run with the following rules,
./hayabusa csv-timeline -d ../hayabusa-sample-evtx -w -A -a -D -n -u -q -r test.yml
then I confirmed multiple key grouping works as follows.
I would appreciate it if you could check it out when you have time🙏