Closed Biagio-Dipalma closed 9 months ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Biagio-Dipalma Once this PR has been reviewed and has the lgtm label, please assign fededp for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Welcome @Biagio-Dipalma! It looks like this is your first PR to falcosecurity/rules 🎉
This is going to impact all the rules using spawn_process
macro which may cause unexpected results. E.g. some may expect to see the spawn process with errors. I would recommend to create a new macro :)
Agreed with @Kaizhe, this can be really impactful but I do agree that most of the time we are interested in successful execve
s. I'd create a new macro too, since we still don't have a way to test each rule and we don't know how these changes will affect them. We can start writing new rules with the new macro, and as soon as we introduce some testing, gradually switch to the new one :)
Comparing 0aeda02b57055f7fb402c9b9878927fd73b14c82
with latest tag falco-rules-1.0.1
No changes detected
@loresuso / @Kaizhe you're right, I've just added a new macro. TY! :)
Perfect, can you sign-off your commit? So that we can let this in :) You can squash them and then push just one commit. Moreover, commit messages should follow conventional commits
@loresuso / @Kaizhe you're right, I've just added a new macro. TY! :)
Thanks for your contribution :) We really need it!
@Kaizhe and @loresuso do we have a status update? Are we ok with having unused macros? Perhaps we could comment it, so it serves as example and inspiration? We have done it that way on other places.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten
I believe this needs to be rebased to make the more recent CI jobs run on it. /assing @LucaGuerra
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Provide feedback via https://github.com/falcosecurity/community. /close
@poiana: Closed this PR.
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it: This is a possible improvement of the
spawned_process
macro: basically I'm adding a filter to consider only the successful spawns, not all of them. This will make the detections more precise and avoid useless events.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: