Skip to content
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

requires: check for existence of keyword - v3 #12177

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jasonish
Copy link
Member

  • Add documentation and upgrade notes for new behavior.

Ticket for requires keyword: https://redmine.openinfosecfoundation.org/issues/7403

Ticket for unknown requirements: https://redmine.openinfosecfoundation.org/issues/7418

SV_BRANCH=OISF/suricata-verify#2133

For example, "requires: foo bar" is an unknown requirement, however
its not tracked, nor an error as it follows the syntax. Instead,
record these unknown keywords, and fail the requirements check if any
are present.

A future version of Suricata may have new requires keywords, for
example a check for keywords.

Ticket: OISF#7418
To be used by the requires keyword to check for keyword support.

Ticket: OISF#7403
For example:

    requires: keyword foo;

Will require that Suricata supports the "foo" keyword.

Ticket: OISF#7403
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 95.74468% with 2 lines in your changes missing coverage. Please review.

Project coverage is 49.98%. Comparing base (4ec90bd) to head (b5566a0).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12177      +/-   ##
==========================================
+ Coverage   49.75%   49.98%   +0.22%     
==========================================
  Files         912      912              
  Lines      257055   257100      +45     
==========================================
+ Hits       127895   128505     +610     
+ Misses     129160   128595     -565     
Flag Coverage Δ
fuzzcorpus 60.98% <34.61%> (-0.01%) ⬇️
livemode 19.41% <0.00%> (-0.01%) ⬇️
pcap 44.35% <0.00%> (?)
suricata-verify 62.71% <73.07%> (+<0.01%) ⬆️
unittests 9.02% <68.08%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link

Information:

ERROR: QA failed on SURI_TLPW2_autofp_suri_time.

field baseline test %
SURI_TLPR1_stats_chk
.uptime 624 648 103.85%

Pipeline 23599

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants