osquery-1/osquery/tables/utility
Mark Mossberg 5edb4c5b81 Add Windows product version information to file table (#5431)
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
2019-02-21 13:45:46 -08:00
..
BUCK Make system utils target name unique 2019-01-22 05:28:28 -08:00
file.cpp Add Windows product version information to file table (#5431) 2019-02-21 13:45:46 -08:00
osquery.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
time.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00