Data harvesting
Harvesting program is written in VBscript in combination with relevance to get information from the sources mentioned under Scope of the Harvesting tool.
All harvested data is saved at <BigFix client folder>\LMT\HARVESTER when run from fixlet and in standalone script folder, when run with the script.
Given below are the different scanners:
- Main
- This module calls other sub-module scanners in a sequence and ensures that each step has been run.
- Scanners
-
- Registry scanner for data from uninstall registry
- Process scanner for data from windows task manager
- Shortcut scanner for data from desktop shortcuts and pinned applications and start menu
- Windows services scanner for data from windows services
- Executable scanner for data from all executables that includes information pointed from point 1 to 5, and readme/license files found for the executables
- Uploader compresses the JSON files and error logs, and uses BigFix Archive Manager to upload the compressed file on BigFix server and then clean up the output files and logs.
Note:
- The output JSON is generated at C:\<parent folder of client>\ BESData\Harvester\ and the logs are collected at C:\<parent folder of client>\ BESData\Harvester\Logs.
- When the harvester is run, the execution starts from the beginning, after deleting the contents of C:\<parent folder of client>\ BESData\Harvester\.
- The program is deployed on the endpoints by embedding it in a fixlet. The Harvesting tool can be run as a standalone program also.
- When harvester is run independently and manually without any parameters, the execution starts from the beginning. The output is timestamped in a compressed file.