6. Tool Structure

6.1. Directories

  • tanium_hat: Root directory of THAT. Also referred to as TOOL_PATH.
  • tanium_hat\backups: THAT stores backups of files here.
  • tanium_hat\bin: Contains a standalone Python 2.7 32 bit binary for Windows named py.exe.
  • tanium_hat\data: The Default directory where Tanium Question results are stored (CSV format), THAT log files, PPTX output, zip files, and all other content created by THAT.
  • tanium_hat\dev: Contains build processes for development.
  • tanium_hat\doc: Contains THAT documentation.
  • tanium_hat\layouts: Default directory which contains power point layout definitions and power point slide layout input files necessary for presentation processing.
  • tanium_hat\libs_external: Contains external Python libraries used by THAT.
  • tanium_hat\libs_tanium: Contains Tanium maintained Python libraries used by THAT.
  • tanium_hat\plugins: Contains THAT plugins for Hygiene Assessment Execution Logic.
  • tanium_hat\scripts: Contains Python scripts provided for THAT.
  • tanium_hat\tanium_hat: Contains internal tanium_hat Python packages.

6.2. Files

6.2.1. Windows Wrapper Scripts

All of these scripts are Windows batch scripts that use tanium_hat\bin\py.exe to execute a Python based script of the same name under tanium_hat\scripts

  • tanium_hat\run_that.bat: Runs THAT.
  • tanium_hat\crypt_value.bat: Generates crypted values from user input.
  • tanium_hat\generate_config.bat: Generates a default configuration file.
  • tanium_hat\generate_layout.bat: Generates a layout file from a PPTX file.

6.2.2. OS X Wrapper Scripts

All of these scripts are Unix bash scripts that use python to execute a script of the same name under tanium_hat\scripts

  • tanium_hat\run_that.sh: Runs THAT.
  • tanium_hat\crypt_value.sh: Generates crypted values from user input.
  • tanium_hat\generate_config.sh: Generates a default configuration file.
  • tanium_hat\generate_layout.sh: Generates a layout file from a PPTX file.

6.2.3. Other Files

  • tanium_hat\LICENSE: The MIT license file for this tool.
  • tanium_hat\README.md: The overview README for this tool.
  • tanium_hat\tanium_hat.ini: The default configuration file for THAT.