-
Notifications
You must be signed in to change notification settings - Fork 876
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
Error reporting for output channels #1466
Comments
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 |
evt.type = write is igored by low-level settings of falco, that's why it doesn't output any error reporting after run falco. So, the left issue is find out how remove the wirte type from ignored list. |
@MINQ1NG you can do that by passing the |
To do not ignore a particular event type (eg. write) we can set its event mask (using the libsinsp interface, |
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 |
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 |
I don't know if this is outdated, but we seem to cover this right now: 👇🏼 falco/userspace/falco/falco_outputs.cpp Line 336 in b33fb60
Falco catches exceptions arising from output channels and logs them with |
You are right, this issue was fixed by #1451. Thank you for noticing that! /close |
@leogr: Closing this issue. In response to this:
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. |
Motivation
Errors that may occur in output channels are not being reported. This behavior can lead users to wrong assumptions.
Feature
Add a comprehensive error reporting mechanism to the Falco outputs implementation.
For example, when an output channel cannot write to the configured file or cannot reach the configured HTTP endpoint, Falco should report the error to
stderr
at least.Alternatives
Do nothing is always an alternative, but users have almost no chance to get what is going on without error reporting.
Additional context
There could be cases where Falco can't continue to run when one of such error occurs. For example, what to do if Falco cannot write to a file because there's no more space on the disk?
The text was updated successfully, but these errors were encountered: