Replies: 2 comments 1 reply
-
Yes, it is something that I think we should do -- but it isn't really clear how it fits into the existing schema, other than as "systems", some metadata attached to software entries for files, or "fake" software entries with no actual file/hash (at least one hash is required though, so this wouldn't work...) Being able to get PURLs/CPEs for packages present on a system would be useful for finding CVEs that may apply, and mapping the files we see to what common package they are part of would be helpful for future analysis. I was wondering if it would be useful to have pre/post file id/info extraction hooks that run for each top-level directory (/context entry) for this type of information gathering. It seems like the type of thing that could benefit from looking at the files present as a whole, and perhaps running before the individual file info extractors (so it may be the thing that creates software entries for files it finds that are associated with packages). |
Beta Was this translation helpful? Give feedback.
-
I think we may also need to figure out how to handle "folder"-based software/applications, which could be relevant for tying package manager info to files. A macOS application is an example of this -- it's a folder with a name that ends in Similarly, the Python packaging ecosystem has
Maybe support for this could be an "id_special_directory"/"extract_directory_info" hook that looks at a directory and tries to determine if it is special for a particular ecosystem? There are some questions that come up though for when it should run... on one hand, it seems like it could make sense as soon as a directory is encountered -- but if it encounters information that should update the info for a file within the folder, then the software entry won't exist yet.
|
Beta Was this translation helpful? Give feedback.
-
Is this something we want to do? Is this something that fits into the existent schema? Its potentially possible to pull from apt/dpkg, a variety of linux package managers, I'm sure its doable on mach-os/windows as well.
Beta Was this translation helpful? Give feedback.
All reactions