-
Notifications
You must be signed in to change notification settings - Fork 100
test/byte-vars: Restrict var usage to single-buffer #2576
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
base: master
Are you sure you want to change the base?
Conversation
Wonder where it comes from :-p |
c950a72
to
e58a07a
Compare
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.
See decision in OISF/suricata#13516 (review) :
needs a warning, and only an error when in "strict" mode
So we need tests for these 2 modes
tests/detect-bytemath-09/test.yaml
Outdated
@@ -0,0 +1,13 @@ | |||
requires: | |||
min-version: 8 |
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.
Only the shell check requires min-version 8, right ?
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.
Yes, correct.
tests/detect-bytemath-05/test.yaml
Outdated
|
||
requires: | ||
min-version: 7 | ||
version: 7 |
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 really need this change ?
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.
No; i'll revert.
Is this PR up to date wrt the latest desiderata for the suricata PR ? |
count: 1 | ||
match: | ||
event_type: alert | ||
alert.signature_id: 44412999 |
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 would like a README, or a comment here ;-)
Add/modify test cases to use the `rule-strict-keywords` where appropriate. 2 new test cases - bytemath-07 Test 05 for release 8 and later - bytemath-08 Using additional "lol" signature - bytemath-09 Using additional "lol" signature Issue: 1412
2 new test cases
Issue: 1412
Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket: