-
Notifications
You must be signed in to change notification settings - Fork 919
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
Follow CLI args standards in Falco #3049
Comments
@Andreagit97 @incertum I am interested in this issue! |
Not clear to me what was the plan @incertum had in mind when she opened this issue, so I'll let her answer here. |
Goal is to correct the https://falco.org/docs/outputs/formatting/ falco/userspace/falco/app/options.cpp Line 187 in 99781f7
I would propose them being:
Suggesting to sync with @leogr. |
This is the main issue, likely. If we follow POSIX's recommendation:
So, But:
So My recommendation is to reaudit all flags, and try to make them consistent with POSIX. Let's dig deeper into this once we have found some time. |
Agreed @leogr let's investigate more. It's something valuable for Falco 1.x. |
/milestone 1.0.0 |
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 |
/assign @LucaGuerra |
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 @LucaGuerra as privately discussed we are close to finish this, keep as posted 🙏 |
@LucaGuerra this may be interesting for the |
So these are the potential issues that I see:
|
I believe the examples you provided can't be correlated because of a missing detail. AFAIK, the recommendation does not allow spaces in the option's value. This is particularly relevant when commas are involved. Helm
name:
- a
- b
- c and
servers:
- port: 80
host: example So, in the end, I totally agree to support Furthermore, what about the escaping? For example, do we support something like Helm's
I'm in favor of getting rid of both |
Proposing to follow common and standard Program Argument Syntax Conventions for Falco's CLI options, for example see this resource. For example -pk and similar options seem to fall outside of these conventions.
The text was updated successfully, but these errors were encountered: