Jit Scripts for extended usability
Jit user scripts enable you to perform actions using CLI to extend the usability of the Jit platform.
Currently, the following scripts are supported:
- Sync teams, when GitHub is not used for team management, this script syncs teams manually from other team management systems to Jit teams.
- Jit on GitHub Self-hosted-runners, automates configuring Jit to run on a GitHub self-hosted runner. This is especially useful for Scaning Your Web Application for Vulnerabilities (DAST) if the web app is protected (no public IP / WAF).
Requirements
- Python 3.x
- Git
- Make
Installing and cloning the GitHub repository
brew install git make
git clone https://github.com/jitsecurity/jit-customer-scripts.git
cd jit-customer-scripts
sudo apt update
sudo apt install -y git make
git clone https://github.com/jitsecurity/jit-customer-scripts.git
cd jit-customer-scripts
sudo yum install -y git make
git clone https://github.com/jitsecurity/jit-customer-scripts.git
cd jit-customer-scripts
If haven't cloned the repo recently, make sure to update it.
git pull https://github.com/jitsecurity/jit-customer-scripts.git
To see all available scripts, use the make help
command.
Updated 19 days ago