Analysis Toolkit User Guide¶
Overview¶
The KP Analysis Toolkit (KPAT) is a collection of tools for working with the data we collect in our audits. Currently, this includes the following:
scripts-- Working with thekpmacaudit,kpnixauditandkpwinauditsystem configuration collection scriptsrtf-to-text-- Converting RTF-formatted files to plain textnipper-- Reformat Nipper CSV result files into a more usable format
Each of these tools are presented in their own user guide page.
Prerequisites¶
System Requirements¶
- Windows 10 or later (recommended: Windows 11)
- PowerShell 5.1 or later
- Python 3.14 or later
- KP Analysis Toolkit installed (see Installation Guide)
- Windows Terminal (recommended) as a replacement for the legacy Windows Console terminal
Getting Started¶
kpat_cli is a command line tool, so you'll spend time at the command prompt (Powershell for Windows and Bash for Linux/MacOS). If you neeed a refresher, some PowerShell basics are presented below
PowerShell Basics¶
Open the Command Prompt
- Run Windows Terminal from your Start Menu.
-
If Windows Terminal isn't installed, you can start
Powershelldirectly.
See the PowerShell Primer for additional help on getting started with PowerShell.
Running kpat_cli¶
After installation, the kpat_cli command will be available. Test it by displaying the help page.

Working with Files¶
KPAT is built around working with files and folders. Each tool receives input file(s), transforms it, and produces output files.
See the PowerShell Primer for additional help on getting started with PowerShell.
Advanced Options¶
Automatic Updates¶
The toolkit will automatically check for an upgrade each time you run it. If an update is found, it will provide instructions for how to upgrade and immediately exit

You can override this check by including --skip-update-check on the command line
Configuration¶
Each command comes with its own options that you can use to alter the default behavior. Use the --help pages to see what those options are:
# Options for script result processing
kpat_cli scripts --help
# Options for RTF-to-Text conversion
kpat_cli rtf-to-text --help
# Options for Nipper results expansion
kpat_cli nipper --help
Troubleshooting¶
Common Issues¶
Command not found¶
Symptoms: Powershell or Bash reports that it cannot find the kpat_cli command
Solutions:
- Reinstate the
uvsystem path variable withuv tool update-shell - Restart your Terminal session
- Check that KPAT is intalled with

Slow Performance¶
Symptoms: Very slow performance in WSL
Solutions:
- Don't use WSL to access files from your Windows partition (e.g. through
/mnt/c/users/YourUserName/...). This isn't a KPAT limitation, but is a known problem with WSL accessing Windows files - Install the toolkit in Windows -- see installation instructions
Getting Help¶
An extensive help system is built into the tool and is invoked by appending --help to any command.

Examples and Use Cases¶
Example 1: Process results from one of the collector scripts¶
Use Case: Customer has returned their script results based on the sample chosen by the auditor
Steps:
- Unzip and organize the files into the most meaningful arrangement based on your project. For example, create folders for:
- Different operating systems
- Function group such as "Workstations", "Developers" or "HR"
- Launch Windows Terminal
-
Change to your project folder and run
kpat_cli -
Review the results