Bridgecrew Setup

You’ll need to sign up for a free Bridgecrew account to follow along with this tutorial. You can sign up for a free account here.

Signup to Bridgecrew

Checkov CLI

In this tutorial, we’re also going to use Checkov CLI. The CLI works on Windows, Mac, and Linux. You can install it with pip:

pip3 install checkov

If installing globally on your system (not in a python venv or pipenv) you may need to have permissions to write the libraries to the necessary locations, ie:

sudo pip3 install checkov

If you run into problems, try the alternate install instructions.


We’ll also be using a new Bridgecrew open source tool, Yor, to make tagging and tracing infrastructure between code and the cloud easier, to install into our linux environment, run the following:

wget -q -O - | sudo tar -xvz -C /usr/bin

Now test we can run yor

$ yor
   yor - enrich IaC files with tags automatically

   yor [global options] command [command options] [arguments...]


Bridgecrew API token

Throughout the tutorial, you’ll need to use the Bridgecrew API token. You can access it here or in your Bridgecrew account by navigating to the Integrations tab and selecting API Token.

Bridgecrew API token