CLI Reference
Ravenscan does not ship a standalone CLI to customers. It is a UI-first, API-first product: the Docker image's only entrypoint is the web server (ravenscan serve), which exposes the embedded web UI and the full REST API. Every scan option described below as a “flag” is also a field you can set on a scan request through the API or the UI — there is no separate command-line tool to install or learn.
Starting a scan
Scans are started from the web UI, or via POST /api/v1/scans with a JSON body. The same options are available either way:
| Option | Values | Description |
|---|---|---|
profile | quick, standard, full, stealth | Scan depth / aggressiveness preset |
ports | e.g. 22,80,443 or 1-1024 | Override the port range |
check_defaults | bool | Opt-in default-credential checks |
web_scan | bool | Opt-in SQLi / XSS / directory discovery |
curl -X POST https://ravenscan.example.com/api/v1/scans \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": ["192.168.1.0/24"],
"profile": "standard",
"ports": "22,80,443,8080",
"check_defaults": false,
"web_scan": true
}' Diff, baselines, trends
Comparing scans, managing baselines (Enterprise) and reading score trends are UI features backed by the same REST API — GET /api/v1/reports, the compliance and trend endpoints, no CLI step required.
CI/CD integration
For pipelines, call the REST API directly: trigger a scan, poll until it completes, and fail the build based on the returned risk_level / finding counts. JSON output is the integration format — see the Features page for the full report schema.
Why no CLI
Ravenscan targets IT/security teams who work from a dashboard, not a terminal. Internally, the Go binary does have development/testing-only subcommands used while building the product — they are not part of what ships to customers and are not supported as a product surface.