Skip to content

Takes a folder containing multiple .ptrac files and imports them as new reports on a client.

License

Notifications You must be signed in to change notification settings

PlexTrac-Labs/bulk-ptrac-import

Repository files navigation

bulk-ptrac-import

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.

Requirements

Installing

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

Usage

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

Config

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.

Required Information

  • 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

About

Takes a folder containing multiple .ptrac files and imports them as new reports on a client.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages