-
Notifications
You must be signed in to change notification settings - Fork 886
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rules to improve performance.
Make changes to rules to improve performance: - Rely on an upcoming change to sysdig (draios/sysdig#610) that allows specifying an open/openat for reading/writing, without having to search through all the flags individually. - Switch to consistently using evt.type instead of syscall.type. - Move positive tests like etc_dir, bin_dir, etc., which are most likely to not succeed, to the beginning of rules, so they have a greater chance to cause the rest of the rule to be skipped, which saves time.
- Loading branch information
Showing
1 changed file
with
17 additions
and
26 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