This article will show you how to install the ShiftLeft CLI and how to associate it with your ShiftLeft account.
Step 1: Download and install the ShiftLeft CLI
Run the following shell command:
Step 2: Authenticate with ShiftLeft
Once you have the ShiftLeft CLI installed, you need to associate the CLI with your ShiftLeft account.
First, you'll need your access token, which you can obtain in the Dashboard.
Once you have your access token, create an environment variable called
SHIFTLEFT_ACCESS_TOKEN and set its value to your access token.
sl auth to authenticate
While setting an environment variable called
SHIFTLEFT_ACCESS_TOKEN and using that to authenticate is the preferred method, you can also run
sl auth to link the CLI with your ShiftLeft account.