-
Notifications
You must be signed in to change notification settings - Fork 98
detect: add test for email.received keyword - v2 #2443
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
detect: add test for email.received keyword - v2 #2443
Conversation
Ticket: #7599
filename: eve.json | ||
types: | ||
- alert: | ||
tagged-packets: yes |
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.
Do we need this ?
flows: all # start or all: 'start' logs only a single drop | ||
- stats | ||
- flow | ||
- stats: |
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.
We do not need stats
filename: stats.log | ||
append: yes | ||
|
||
action-order: |
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.
We do not need this, do we ?
count: 1 | ||
match: | ||
event_type: smtp | ||
email.received[0]: "from client.local (client.local [10.0.0.1]) by smtp.relay1.com with ESMTP id relay1abc; Thu, 10 Apr 2025 12:00:00 -0000" |
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.
Can tou have only one filter for the smtp event with all 3 received ?
Merged in #2449, thanks! |
Ticket: #7599
Description:
email.received
keywordChanges:
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/7599
Suricata PR: OISF/suricata#13019