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 keyword/v1 #12138

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

Commits on Nov 20, 2024

  1. requires: treat unknown requires keywords as unmet requirements

    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 fails the requirements check if any
    are present.
    
    A future version of Suricata may have new requires keywords, for
    example a check for keywords.
    jasonish committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    d48cf33 View commit details
    Browse the repository at this point in the history
  2. sigtable: add function to test for a keyword

    To be used by the requires keyword to check for keyword support.
    
    Ticket: OISF#7403
    jasonish committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    8fd56a0 View commit details
    Browse the repository at this point in the history
  3. requires: support requires check for keyword

    For example:
    
        requires: keyword foo;
    
    Will require that Suricata supports the "foo" keyword.
    
    Ticket: OISF#7403
    jasonish committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    8523a0e View commit details
    Browse the repository at this point in the history