Skip to main content
Vidoc CLI is a command-line tool that allows you to scan your codebase for security issues directly from your terminal or CI/CD pipelines.

Prerequisites

Before you can scan your codebase, you need to authenticate with Vidoc.

Authentication

Authenticate with Vidoc before scanning:
vidoc login
You’ll be prompted for your authentication token. Alternatively, provide it directly:
vidoc login <your-token>
Your authentication token can be found in the Vidoc web panel:
  1. Go to your project
  2. Navigate to SettingsAPI Keys
  3. Create a new API key or use an existing one

Starting Your First Scan

Basic Scan

Navigate to your project directory and run:
vidoc
Or use the explicit scan command:
vidoc scan
The CLI will guide you through the scanning process interactively.