-
Notifications
You must be signed in to change notification settings - Fork 905
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
cleanup(rules): cleanup rules disabled by default - 3 #2168
Conversation
@darryk10 what do you think? I like these changes, they would positively affect runtime performance. |
/milestone 0.33.0 |
I spent this morning investigating why the CI jobs are currently failing. The bug propagation path is really twisted, but it turns out the some regex-based parsing function of our rule conditions language parser are a bit flaky. This is due to the regex support in C++ being very ambiguous specially in our setup. Since this has been discussed already in other pull requests, this led me to the conclusion of adopting a portable regex library for regex parsing in libsinsp, which can be used in Falco as well later if needed. 👉 falcosecurity/libs#556 If we agree on this, that would require merging that PR and bumping the libs version on Falco. |
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
7305886
to
62ed95d
Compare
LGTM label has been added. Git tree hash: aa1e351ddefe597d3fb55cbc8a44ad6d66f87161
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: incertum, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Melissa Kilby melissa.kilby.oss@gmail.com
What type of PR is this?
/kind cleanup
/kind rule-update
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
Still missed a whole bunch of
(never_true)
macros at the beginning of the condition or whenand (never_true)
was split across lines. #2166Question:
What about these
always_true
macros that don't seem to add much value in those 3 rules below? Keep or also clean up?Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: