vulkro baseline
Run a scan and save the current findings to a baseline file, so later scans report only what is new.
vulkro baseline # writes .vulkro-baseline.json in the repo root
git add .vulkro-baseline.json
vulkro scan . --ratchet # exits 1 only on findings not in the baseline
The file is a JSON array of findings, the same shape scan --baseline reads.
Flags
| Flag | Description |
|---|---|
[PATH] | Project root. Default .. |
-o, --out <PATH> | Output file. Default .vulkro-baseline.json in the repo root. |
--no-cache | Skip the per-file extraction cache. |
Exit codes
0 baseline written, 2 scan or IO error. It never returns 1.
See also: Baselines, vulkro gate.
Command reference
Generated from vulkro baseline --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Save the current findings as a baseline so later scans only report what is new.
vulkro baseline [OPTIONS] [PATH]
Arguments
| Argument | Description |
|---|---|
[PATH] | Path to the project root (default: current directory) Default: .. |
Options
| Flag | Description |
|---|---|
-o, --output <PATH> | Output file. Defaults to .vulkro-baseline.json in the repo root. (--out is the old spelling: it still works and warns.) |
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
--no-cache | Bypass the per-file extraction cache (same as scan --no-cache) |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro baseline --help
Save the current findings as a baseline so later scans only report what is new.
Run a scan and write a baseline JSON file (default `.vulkro-baseline.json`) that `scan --baseline` / `scan --ratchet` can compare against. The baseline is the same shape `--baseline` already reads: an array of `SecurityFinding` records.
Exit code: 0 baseline written, 2 scan / IO error. It snapshots findings rather than failing on them, so it never returns 1.
Usage: vulkro baseline [OPTIONS] [PATH]
Arguments:
[PATH]
Path to the project root (default: current directory)
[default: .]
Options:
-o, --output <PATH>
Output file. Defaults to `.vulkro-baseline.json` in the repo root. (`--out` is the old spelling: it still works and warns.)
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set
--no-cache
Bypass the per-file extraction cache (same as `scan --no-cache`)
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')