Get started with CodeSec by Contrast Security
Install CodeSec by Contrast Security and authenticate before running a scan.
Step 1: Install
via Homebrew
Install from Contrast's tap with Homebrew by running the following commands.
brew tap contrastsecurity/tap
brew install contrast
via NPM/YARN
Install using npm or yarn @contrast/contrast
.
npm install -g @contrast/contrast
via Binaries
Go to https://pkg.contrastsecurity.com/ui/repos/tree/General/cli.
Select your operating system under the cli folder and download the package.
You must allow execute permissions on the file depending on your OS.
Step 2: Authenticate
Authenticate by entering contrast auth in the terminal.
In the resulting browser window, log in and authenticate with your GitHub or Google credentials.
Step 3: Run a scan
Use Contrast CodeSec to run a scan or a scan on a Lambda function.