Basic Scan
Navigate to your project directory and run:Scan Options
Force Reindex
Force a complete reindex of the codebase (useful if files changed outside of git):Index Only
Index the codebase without running a full scan:Use a Specific Profile
Scan using a named profile:Override Token
Use a specific token for this scan:Custom API URL
For single-tenant installations:Custom Config File
Use a specific configuration file:How Scanning Works
- Index - CLI analyzes your local files
- Upload - Code is sent to Vidoc for analysis
- Analyze - AI scans for security vulnerabilities
- Results - View findings in the Vidoc dashboard
Viewing Results
After scanning, view results in the Vidoc dashboard:- Go to app.vidocsecurity.com
- Select your project
- Navigate to Issues to see findings
CI Mode
For CI/CD pipelines, use the dedicatedci command:
Global Options
These options work with any command:| Option | Short | Description |
|---|---|---|
--force-reindex | -f | Force complete reindex |
--only-indexing | Index only, skip full scan | |
--profile <name> | -p | Use named profile |
--api-url <url> | Override API URL | |
--token <token> | Override authentication token | |
--config <path> | -c | Custom config file path |
Troubleshooting
”Not authenticated”
Runvidoc login to authenticate, or pass --token with your scan.
”No files found”
- Check you’re in the correct directory
- Ensure the directory contains supported file types
- Verify the project is properly initialized
Scan Taking Too Long
- Use
--only-indexingfirst to see indexing progress - Large codebases take longer on first scan
- Subsequent scans are faster (incremental indexing)

