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

Add tests catchall order #355

Merged
merged 3 commits into from
Apr 19, 2018
Merged

Add tests catchall order #355

merged 3 commits into from
Apr 19, 2018

Commits on Apr 18, 2018

  1. Only check whole rule names when matching counts

    Tweak the regex so a rule my_great_rule doesn't pick up event counts for
    a rule "great_rule: nnn".
    mstemm committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    f964b47 View commit details
    Browse the repository at this point in the history
  2. Add ability to skip evttype warnings for rules

    A new attribute warn_evttypes, if present, suppresses printing warnings
    related to a rule not matching any event type. Useful if you have a rule
    where not including an event type is intentional.
    mstemm committed Apr 18, 2018
    Configuration menu
    Copy the full SHA
    6398687 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2018

  1. Add test for preserving rule order

    Test the fix for #354. A rules
    file has a event-specific rule first and a catchall rule second. Without
    the changes in draios/sysdig#1103, the first
    rule does not match the event.
    mstemm committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    65cd607 View commit details
    Browse the repository at this point in the history