This tutorial shows you how to install, set up, and configure Inspect.
If you haven't already, register for a ShiftLeft account.
You will be prompted to create an organization. Provide a name for your organization and click Create Organization to proceed.
As a new ShiftLeft user, you will be presented with a list of steps that you need to complete to install and set up ShiftLeft in the Dashboard.
You can always return to this page at a later date by clicking Add App in the Dashboard.
ShiftLeft provides the following installers for Windows users:
You must use an account with administrator privileges to use the Windows installers.
You can install ShiftLeft by downloading the installer via PowerShell or by going to the appropriate link.
To get the .NET Core installer:
Invoke-WebRequest -URI https://cdn.shiftleft.io/download/installer-dotnet-core-latest-windows-x64.zip -UseBasicParsing -OutFile sl-latest-windows-x64.zip
To get the .NET Framework installer:
Invoke-WebRequest -URI https://cdn.shiftleft.io/download/installer-dotnet-framework-latest-windows-x64.zip -UseBasicParsing -OutFile sl-latest-windows-x64.zip
If you choose to run the installer from the command line, note that the installer binaries have the following command-line options available to modify the default behavior.
Disables prompts for non-interactive usage if you are running the installer from the command line
Specifies the installation directory; the default is
Sets the directory for the location of created Start menu items. Defaults to
Identifies the home directory for ShiftLeft products. This directory is created as part of the installation process, and stores any downloaded binaries and configuration files. Defaults to
Installs just ShiftLeft Inspect (i.e.
All directories are stored in the Windows Registry.
Once you've obtained the installer, unzip the downloaded file.
Note: For Protect, the installer bundles all of the dependencies into a single downloadable file. This enables the installer to run without needing access to the Internet.
Run the newly-unzipped executable to begin the installation process.
In the prompt that appears, grant the permissions requested by the installer.
Provide the installer with any requested permissions.
At this point, the installer copies
C:\Program Files\ShiftLeft. If you are installing Inspect and Protect, you can find the latter in
During the installation process, you will see status updates in a Command Prompt window. Once the process completes, press
Enter to finish and close out of the window.
The ShiftLeft CLI command
sl auth is used to authenticate with ShiftLeft and associate your applications with your organization.
sl auth --org "YOUR_ORG_ID" --token "YOUR_ACCESS_TOKEN"
You can get the values for
YOUR_ACCESS_TOKEN from the ShiftLeft Dashboard under Add App.
This step accomplishes two things: link the CLI running on your machine with your ShiftLeft account using ShiftLeft's API (the token included is needed to call the API).
You can confirm or update your auth values at any time by reviewing the configuration file located at
At this point, you are ready to run Inspect. Please see the language-specific pages for details pertinent to your application: