sl check-analysis Options

ShiftLeft's Check Analysis feature allows you to compare the results of your analysis against a set of build rules you've defined.

API Token

Because sl check-analysis calls the ShiftLeft API, you'll need to create and set a process environment variable called SHIFTLEFT_API_TOKEN with your API token.

You can obtain your API token from the Dashboard's Account Settings page under Public API Token (Beta).

Usage

To run: sl check-analysis [command options]

Options available:

Option

Description

--app <name> or -a <name>

The name of the application analyzed by ShiftLeft

--branch <name>

The tag for the application branch analyzed

--config <filepath>

The YAML configuration file containing your build rules (default: ./shiftleft.yml)