Getting started

Dependencies

DevSecOps Studio uses vagrant, virtualbox and ansible to setup the lab environment. You can visit the vendor’s website to download the above software for on Windows/Linux/macOS.

DevSecOps Studio simulates the environment presented below.

Appsec Pipeline

Software

Hardware

  • Atleast 4GB of RAM for the virtual machines.
  • 60GB of HDD Space.
  • Intel i3 Processor or above.

MacOS Installation

Prerequisites can also be installed via homebrew on MAC OS X

Homebrew: Optional

 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Vagrant

brew cask install vagrant

Virtualbox

brew cask install virtualbox

Ansible

brew install ansible

Linux Installation

Install dependencies using apt-get

Virtualbox

sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list'

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

sudo apt update

sudo apt install virtualbox

Vagrant

sudo apt-get install vagrant python2 python2-pip

Ansible

pip install ansible

Windows Installation

Alternatively, Installation can be done using chocolatey by opening up command prompt and using the following command.

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Install dependencies using choco

choco install vagrant virtualbox git

Install ansible via pip

choco install python --version 2.7.6
pip install ansible

Installation

  1. Clone this repo or download the zip

    $ git clone https://github.com/teacheraio/DevSecOps-Studio.git
    
  2. CD into the directory and check what boxes are available.

    $ cd DevSecOps-Studio && vagrant status
    
  3. Download requirement ansible dependencies.

    $ ansible-galaxy install -r requirements.yml
    

Configuration

If you wish to make any changes to default setup, please edit machines.yml . Meanwhile, go grab some coffee to enjoy.

 vagrant up

You can see how it all fits in DevSecOps pipeline by reading out wiki