-
Notifications
You must be signed in to change notification settings - Fork 230
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
System version more plugins #1317
base: master
Are you sure you want to change the base?
Conversation
jstucke
commented
Dec 12, 2024
- added system_version for more plugins
- file_type: used version of FW magic DB
- cve_lookup: used version of NVD JSON data feeds
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1317 +/- ##
==========================================
- Coverage 92.48% 91.84% -0.64%
==========================================
Files 379 378 -1
Lines 24115 21157 -2958
==========================================
- Hits 22302 19432 -2870
+ Misses 1813 1725 -88 ☔ View full report in Codecov by Sentry. |
What problem does this solve? |
It is useful for two things:
|
and also set is as system version
1ff0d2c
to
181850b
Compare
To me the system version still seems like a design flaw. Let's consider the |
I tend to agree with you. That is one of the reasons why we don't install some tools through apt: To get reproducible results. In some cases it is hard to address this, e.g. in case of the cve_lookup plugin it wouldn't make a lot of sense to pin the commit of the CVE sources (because you would need to update the plugin all the time to get the latest entries). But it adds some meta information which makes it easier to track why we see certain results. Maybe it would make sense to remove the "system version" from scheduling. And I think that we should try to eliminate as many sources of indeterminism/uncertainty as possible (like the version of file/libmagic). In the case of file/libmagic I'm not sure what the best way to do that would look like, though: compiling it adds unnecessary installation overhead and running it inside a docker container adds runtime overhead during analysis (which is even worse). Maybe downloading a Debian/Ubuntu package with the pre-compiled magic file and extracting it could work 🙈 |