CLI Reference

xa-v scan

Run a security scan against your API.

xa-v scan [target] [options]

Arguments

ArgumentDescription
targetPath to OpenAPI spec file or URL of running API

Options

FlagDefaultDescription
--modequickScan mode: quick or full
--outputtableOutput format: table, json, jsonl
--endpointScan a single endpoint (e.g. GET /users/:id)
--riskFilter by risk level: high, medium, low, info
--formatSpec format: json, yaml (auto-detected)
--timeout300Scan timeout in seconds
--helpShow help message

Examples

Scan a spec file:

xa-v scan ./openapi.yaml

Full scan with JSON output:

xa-v scan https://api.example.com --mode full --output json

Scan a single endpoint:

xa-v scan ./spec.yaml --endpoint "GET /users/:id"

xa-v --version

Print the installed version.

xa-v --version

xa-v --help

Show the help message with all commands and options.

xa-v --help