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

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Apr 18, 2018

Testing fix for #354 as well as some other minor improvements that allow suppressing evttype warnings for a given rule.

mstemm added 2 commits April 18, 2018 16:54
Tweak the regex so a rule my_great_rule doesn't pick up event counts for
a rule "great_rule: nnn".
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.
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 mstemm force-pushed the add-tests-catchall-order branch from 04ac4f8 to 65cd607 Compare April 19, 2018 14:41
@mstemm mstemm merged commit e922a84 into dev Apr 19, 2018
@mstemm mstemm deleted the add-tests-catchall-order branch April 19, 2018 16:31
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

Successfully merging this pull request may close these issues.

1 participant