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

Some examples have missing values when exporting to patterndb #2

Open
faxm0dem opened this issue Aug 12, 2021 · 0 comments
Open

Some examples have missing values when exporting to patterndb #2

faxm0dem opened this issue Aug 12, 2021 · 0 comments

Comments

@faxm0dem
Copy link
Member

Here's a pattern that has one example with missing values:

  98c131b414229ec1437da915f07c791da47bd80b:
    ruleset: systemd
    ruleclass: sequence
    patterns:
    - '@ESTRING:action: @User Manager for UID @NUMBER:integer@.'
    examples:
    - program: systemd
      test_message: Stopped User Manager for UID 0.
      test_values: {}
    - program: systemd
      test_message: Stopped User Manager for UID 9991.
      test_values:
        action: Stopped
        integer: "9991"
    - program: systemd
      test_message: Stopped User Manager for UID 300.
      test_values:
        action: Stopped
        integer: "300"

Maybe due to an ill test that returns false for a value of 0 ?

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

No branches or pull requests

1 participant