Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
file: Add Shortcut metadata parsing on Windows (osquery#8143)
- Add 6 new columns to the file table on Windows, to display Shortcut metadata (.lnk files), and specifically the shortcut_target_path, shortcut_target_type, shortcut_target_location, shortcut_start_in, shortcut_run, shortcut_comment columns. - Fix a small bug in the file integration test, where a comma was forgotten, and instead of creating and testing querying two files, the concatentation of both was tested - Added logic to the integration test to create shortcuts to the created files, and test their content. - Fix the expandConstraints function so that it can be const, since it's not supposed to modify the context.
- Loading branch information