-
Notifications
You must be signed in to change notification settings - Fork 25
Update Falco libs to 0.21.0 #2196
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #2196 +/- ##
==========================================
+ Coverage 28.83% 28.94% +0.11%
==========================================
Files 96 95 -1
Lines 5799 5776 -23
Branches 2551 2540 -11
==========================================
Hits 1672 1672
+ Misses 3408 3387 -21
+ Partials 719 717 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The latest version of Falco has a number of changes that are incompatible with collector, biggest ones are: - Removal of the container manager code in favor of a plugin. - Major refactoring of sinsp. In order to make collector compatible again, we had to drop the ContainerEngine that we implemented in favor of a method in the event extractor that will get the container id from the cgroups when it is called. The ContainerMetadata is also essentially dead in the water, since we can't get container metadata without the container plugin. Filtering of events that used to happen in the inspector itself has been moved into collector, since we can't filter events by container id without the container engine.
7d4c4b1
to
1a8c6fc
Compare
a0b46d4
to
b2e915f
Compare
Description
The latest version of Falco has a number of changes that are incompatible with collector, biggest ones are:
In order to make collector compatible again, we had to drop the ContainerEngine that we implemented in favor of a method in the event extractor that will get the container id from the cgroups when it is called. The ContainerMetadata is also essentially dead in the water, since we can't get container metadata without the container plugin.
Filtering of events that used to happen in the inspector itself has been moved into collector, since we can't filter events by container id without the container engine.
Checklist
Automated testing
If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.
For more details, ref the Confluence page about this section.