Skip to content

CentOSSetup)

to275404 edited this page May 29, 2020 · 4 revisions

Installation Commands for CentOS7

Create a Python Virtual Environment & install YAML using the pip command

  1. Create a virtual environment
  2. python3 -m venv [your venv name]
  3. Activate your virtual environment
  4. source [venv name]/bin/activate
  5. Install YAML via the pip command
  6. pip3 install pyyaml
  7. Clone the git repo
  8. git clone https://github.com/tenable/integration-jira-cloud.git

Update your YAML file & install the integration

  1. In order to configure the integration, you need to provide the script a configuration file in the YAML format. Your username is your Atlassian ID, and the address is the site URL (i.e.: https://username.atlassian.net/).

The same process as outlined for MacOS is followed by substituting the following Centos7 specific commands

  1. $ yum install epel-release
  2. $ yum install python3 python-pip

For other linux Operating Systems

Add additional repos that would include python 3 and python-pip packages. This will vary from different flavors of the linux OS but the idea is the same

Below is the ubuntu equivalent:

  1. $ sudo apt-get install software-properties-common

  2. $ sudo add-apt-repository ppa:deadsnakes/ppa

  3. $ sudo apt-get update

  4. $ sudo apt-get install python3.6

  5. $ pip install -U pip

  6. $ pip install -U virtualenv

  7. $ virtaulenv --python=python3.x <env_name>

  8. $ cd env_name && source bin/activate

  9. $ pip3 install pyyaml

  10. $ pip3 install /root//integration-jira-cloud

  11. $ Tenable-jira /path to yaml file/jira-cloud.yaml