-
Notifications
You must be signed in to change notification settings - Fork 919
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
update(rules): revert exceptions in default ruleset #1602
Conversation
Exceptions have been introduced in commit 64a231b The feature itself is very useful for more complex environments where the simple conditions are difficult to handle. However, many users reported that they find them difficult to understand so we are doing a rollback of them in the default ruleset in favor of the syntax without exceptions. Signed-off-by: Lorenzo Fontana <lo@linux.com>
…write rules(list known_sa_list): list of known sa moved here from user_known_sa_list Signed-off-by: Lorenzo Fontana <lo@linux.com>
56e5a7d
to
fc06d9a
Compare
/assign @mstemm |
Signed-off-by: Lorenzo Fontana <lo@linux.com>
fc06d9a
to
548ad42
Compare
Been exploring this with @leogr The only problem in having a ruleset without exceptions is that by default Falco gives a warning here falco/userspace/engine/lua/rule_loader.lua Line 528 in 1ded30f
The warning is a bit annoying now that by default we don't use exceptions
What do people think? I'm for removing the warning since, internally lua will continue to add an empty exception to rules that don't have it (like the default ones) and users can decide whether or not they want to use them. |
/milestone 0.28.0 |
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.
What a change! lgtm!
LGTM label has been added. Git tree hash: 7e19acba5c33a6767b35bae9d90ddf79466b276f
|
We want users to continue using rules without having to use exceptions. Exceptions are an additional feature for more advanced use-cases, having a warning in there will mean that everyone now adds an empty exception to avoid the warning. Co-Authored-By: Leonardo Grasso <me@leonardograsso.com> Signed-off-by: Lorenzo Fontana <lo@linux.com>
5fdc98a
to
1b0e379
Compare
…w binary dir rule Co-authored-by: Leonardo Grasso <me@leonardograsso.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Co-authored-by: Lorenzo Fontana <lo@linux.com> Co-authored-by: Leonardo Grasso <me@leonardograsso.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
LGTM label has been added. Git tree hash: 574708057422880d3a51e957b7c5f154ffbe010b
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leodido, leogr 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 |
Exceptions have been introduced in commit 64a231b
The feature itself is very useful for more complex environments where
the simple conditions are difficult to handle.
However, many users reported that they find them difficult to understand so
we are doing a rollback of them in the default ruleset in favor of the
syntax without exceptions.
Signed-off-by: Lorenzo Fontana lo@linux.com
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: