Skip to main contentVidoc 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:
You’ll be prompted for your authentication token. Alternatively, provide it directly:
Your authentication token can be found in the Vidoc web panel:
- Go to your project
- Navigate to Settings → API Keys
- Create a new API key or use an existing one
Starting Your First Scan
Basic Scan
Navigate to your project directory and run:
Or use the explicit scan command:
The CLI will guide you through the scanning process interactively.