-
Notifications
You must be signed in to change notification settings - Fork 40
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
plugin system, events tester, and minor features #31
Conversation
@leogr: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1 similar comment
@leogr: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Even though it's still a WIP, it looks pretty good to me! 👏
Just one consideration (for a future iteration on this great work).
Rules (and the fields they use) depend on the Falco Engine version (link).
Thus, the test
command should somehow (in the future) filter by Falco engine version.
In order to be able to achieve this level of completeness we need two missing pieces:
- a mapping Falco Engine version => fields => rules
- expose the Falco Engine version through the Falco gRPC Version API (issue Expose the Falco Engine version through the gRPC Version API falco#1269)
Hey @leodido Thank you for your preliminary review! I totally agree with you; we need to check the engine version. Furthermore, since the user can customize rules, my current idea is to create a sort of "presets". That would help in testing a set of rules that are intended for a specific engine version. Ofc, it will be implemented in a future iteration, since this PR is already too big :) Also a quick update |
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
LGTM label has been added. Git tree hash: 94f151080ae23005f22f41f412de1c56221d42d4
|
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
LGTM label has been added. Git tree hash: c48042d31155258d8246c934fe2db3a5f045067a
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fntlnz 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 |
What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area commands
/area pkg
/area events
What this PR does / why we need it:
event-generator test
command to run integration tests against a Falco instance as suggested in Falco Rule Integration Test #30TODOs:
client-go
v0.2.0 once released Release v0.2.0 once Falco 0.24.0 is out client-go#47k8saudit
are not yet tested (some refactoring might be needed)Add release notes👉 update(.github): remove release-note block #34Which issue(s) this PR fixes:
Fixes #30
Special notes for your reviewer:
It's a WIP but can be tested by:
with gRPC enable over Unix socket (TCP should work too but not yet tested)
Then
make sudo ./event-generator test syscall
DEMO
/cc @leodido
/cc @fntlnz
/cc @nibalizer