-
Notifications
You must be signed in to change notification settings - Fork 903
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
Only processing K8s Audit Logs #1757
Comments
Hi! Thanks for this feature request! Is this what you want? |
I am getting an error running that as |
I'll give it a look! |
Mind to share the error? |
Runtime error: scap_open_live() error creating the process list. Make sure you have root credentials.. Exiting. |
This is running with:
|
If you instead run as your user, does it work? |
Hey @levigross @FedeDP, I agree. I don't see any valid reason to scan |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale Update: we will likely port the current k8s audit log impl. to a plugin that would not require any priviledege, capabilities, etc... I will keep you posted |
Hey @levigross, keep an eye open for this 👉🏼 #1952 This is the PR that finalizes the porting of K8S Audit to the plugin implementation. Assuming this will get merged soon, from the next release of Falco you'll be able to run Falco in K8S Audit-only mode as a plugin, which should run as unprivileged with no issue. |
This can now be closed, because since #1952 k8s audit log support has been ported to the plugin system. Running this without syscalls is the only supported mode right now. |
Motivation
I would like to be able to just use unprivileged (not running as root or with CAP_SYS_ADMIN) falco to process K8s audit events.
The important bit here, is that Falco should be able to do this while running unprivileged (because all that I can know needs to run is the webserver and the falco rules engine).
Feature
When Falco is started in user mode, and set to ignore the syscall source - don't require falco to run as root.
Alternatives
Leave things as is....
Additional context
First I want to say that I appreciate the work involved in creating and maintaining an OSS project. Thank you!!
Second, please take this request with in a respectful tone (this is something I would like, not something that I am demanding)
Finally, I was looking into doing it -- and I would be happy to brainstorm on ideas for implementation (if you find this worthy).
Thanks,
Levi
The text was updated successfully, but these errors were encountered: