Skip to content
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

No longer run webserver as root under main falco process #3485

Open
MprBol opened this issue Feb 5, 2025 · 0 comments
Open

No longer run webserver as root under main falco process #3485

MprBol opened this issue Feb 5, 2025 · 0 comments

Comments

@MprBol
Copy link

MprBol commented Feb 5, 2025

Motivation

We want to collect prometheus metrics from all servers.

Feature

I noticed the webserver apparently runs as root, under the same process that Falco binary does:

Netstat:

tcp 0 0 0.0.0.0:8765 0.0.0.0:* LISTEN 0 1 426859/falco

PS:

root 426859 0.0 0.7 584040 27648 ? Ssl Jan20 20:19 /usr/bin/falco -o engine.kind=modern_ebpf

Would it be possible to split this responsibility, having a separate webserver process with less privileges than the main Falco process?

Alternatives

Not that im aware of.

Additional context

Separation of concern, least privilege, and other best practices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant