mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
5edb4c5b81
Summary: Hi! This PR adds a new column called `product_version` to the file table, which is only populated when queries are done on Windows. It is a very minimal PR that uses an existing helper function (`windowsGetFileVersion`) to populate the column. The column is not named `file_version`, despite the name of the helper function because the underlying data retrieved by that helper function is actually the `dwProductVersion*` fields of the `VS_FIXEDFILEINFO` struct. In the future, if we want to add a column that _actually_ contains the results of the `dwFileVersion*` fields, we can add a new column called `file_version` without modifying existing functionality. Pull Request resolved: https://github.com/facebook/osquery/pull/5431 Differential Revision: D14169773 Pulled By: fmanco fbshipit-source-id: 6fa7c92425fc92aa2e83a37383b1a8c796b17644 |
||
---|---|---|
.. | ||
BUCK | ||
file.cpp | ||
osquery.cpp | ||
time.cpp |