-
Notifications
You must be signed in to change notification settings - Fork 728
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve order between catchall & other filters
Previously, catchall filters were always matched against an event first, followed by any filters specificially linked to that event's type. This didn't preserve the order of filters as they appeared in the file, though. Instead, assign a filter order for each filter and walk the catchall and evttype-specific filters in order, trying to match each against the event. This fixes falcosecurity/falco#354.
- Loading branch information
Showing
2 changed files
with
66 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters