Prompts the user through selecting or creating a new client, selecting 1 or more PTRAC files, and import each PTRAC as a new report in the choosen client.
After installing Python, pip, and pipenv, run the following commands to setup the Python environment to run the script.
git clone repository
cd path/to/repository
pipenv install //this will create a virtual env and install all the dependancies from the Pipfile which are needed for the script
After the Python environment is setup, you can run the script with the following command. You should be in the folder where you cloned the repo when running the following.
pipenv run python main.py
You can add the following values to the config.yaml file. If a value is not set, you will be prompted to enter it when the script runs.
- PlexTrac Top Level Domain e.g. https://yourapp.plextrac.com
- Username
- Password
- MFA Token (if enabled)
- Client Name
- file path to folder contain PTRACs to import