-
Notifications
You must be signed in to change notification settings - Fork 909
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
Metrics best practice review (3 issues found) #3336
Comments
@incertum FYI |
Weird, the code is correct: https://github.com/falcosecurity/falco/blob/master/userspace/falco/falco_metrics.cpp#L111 For tags, i assume you are talking about rule tags; if yes, then the change needs to be done here: https://github.com/falcosecurity/falco/blob/master/userspace/falco/falco_metrics.cpp#L237 Re host_ifinfo, the change is to be done here: https://github.com/falcosecurity/falco/blob/master/userspace/falco/falco_metrics.cpp#L146 |
I'm wondering why it should be considered:thinking: I can't find a compelling reason, but I may be missing the point. |
Regarding |
I agree with removing it for now and target this for 0.40 |
Describe the bug
falcosecurity_falco_sha256_config_files_info
: file ext is missing infile_name
, it should be addedfalcosecurity_falco_host_ifinfo_json_info
: encoding a json should be against the best practices; possibile solutions: break down this metric into individual labels or remove it if not necessarytags
label contains multiple values, we may split them liketag_t1059="true", tag_container="true", tag_maturity_stable="true", tag_mitre_execution="true", tag_shell="true"
How to reproduce it
I used https://download.falco.org/packages/bin-dev/x86_64/falco-0.39.0-rc2-x86_64.tar.gz and run:
Expected behaviour
Metrics align to best practices
Environment
Additional context
Tentatively for
/milestone 0.39.0
cc @falcosecurity/falco-maintainers @alacuku @Issif
The text was updated successfully, but these errors were encountered: