-
Notifications
You must be signed in to change notification settings - Fork 90
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
dhcp: Validate dhcp option 60 is being logged #1362
Conversation
min-version: 7 | ||
|
||
args: | ||
- -k none --set outputs.1.eve-log.types.21.dhcp.extended=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.
@jasonish will it always be 21
?
Or should rather a minimal suricata.yaml be used here ?
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.
I'd rather a minimal YAML. We do have existing tests digging into arrays like this, but it is fragile. @yatink Could you update this test to provide a minimal YAML file instead of the --set
?
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.
Sure, I can read the docs and figure out how to add that. I'll ask here if I have questions.
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.
Look out for other Suricata Verify tests having a suricata.yaml in their directory
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.
One such possible example: https://github.com/OISF/suricata-verify/blob/master/tests/bug-5802/suricata.yaml :)
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.
Ok done....I'll squash my changes and open a new PR.
Continued in #1367 |
Feature 4587
..continuation of #1361
This PR adds a test to validate that dhcp option 60 is being logged in dhcp extended logging mode.
Associated suricata PR : OISF/suricata#9397
Redmine ticket: https://redmine.openinfosecfoundation.org/issues/4587