-
Notifications
You must be signed in to change notification settings - Fork 51
WindowsSetup)
kwentenable edited this page May 28, 2020
·
3 revisions
- The following was executed via powershell
- Jira Cloud Admin Access
- Tenable.io Admin Account Access
- System must be running Python3
- Reference for setting up Python on Windows: https://www.liquidweb.com/kb/how-to-install-python-on-windows/
- *Note: if this is your first-time running Python on Windows you’ll want to be sure you Check the box for “Add Python 3.7 to PATH”. This will adjust your System Environment Variables automatically so that Python can be launched from any command prompt.
- Confirm you are running python via the following command Navigate to the directory where Python is installed and run .\python.exe -v
- You will need to install pip for Windows if you don’t already have it.
- Reference for installing pip:
- Download get-pip.py to a folder on your computer.
- Open a command prompt and navigate to the folder containing get-pip.py.
- Run the following command: python get-pip.py
- Reference for installing pip:
Example: C:\Users\Administrator\AppData\Local\Programs\Python37> .\python.exe C:\Users\Administrator\Downloads\get-pip.py
- *Note: Pip is installed in the .\scripts\ directory by default.
- You will need to install git if you don’t already have it.
- Navigate to the directory where Python is installed and run
- pip install gitpython
- Navigate to the directory where Python is installed and run
-
Repeat steps 1-3 as shown above
- Create an API token from your Atlassian account:
- Create a Project - LeadAccount ID from your Atlassian account
- Create an Access & Secret key for your Tenable.io Account
-
Create a Python Virtual Environment & install YAML using the pip command
- Create a virtual environment:
- .\python.exe -m venv
- Activate your virtual environment
- .\ \Scripts\activate
- Change into the virtual environment
- cd .,your venv name>
Install YAML via the pip command pip3 install pyyaml Clone the git repo git clone https://github.com/tenable/integration-jira-cloud.git
- cd .,your venv name>
- Create a virtual environment:
*Note if for any reason you cannot clone the git repot via the powershell terminal you may have to do this in the git lab User Interface.