Skip to main content

vulkro publish

Scan and publish this repository's posture to your organisation dashboard.

Command reference​

Generated from vulkro publish --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Scan and publish this repository's posture to your organisation dashboard.

vulkro publish [OPTIONS] [PATH]

Arguments​

ArgumentDescription
[PATH]The repository to scan (defaults to the current directory) Default: ..

Options​

FlagDescription
--offlineHard-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.
--org <ORG>The organisation slug (defaults to $VULKRO_ORG)
--authoritativeMark this snapshot authoritative (publish from CI on the default branch). Without it the snapshot is local and feeds adoption only.
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
--previewPrint the exact snapshot that would be sent, and send nothing.
--termsPrint the publishing terms and exit.
--allPublish every immediate git repository under this path (a folder of repositories), each to its own dashboard entry.
--from-json <FILE>Publish an EXISTING scan instead of scanning again: read the scan result JSON from this file (the document vulkro scan --format json writes) and build the org snapshot from it. Lets a console or CI reuse a scan it already ran rather than scanning the repository twice. Cannot be combined with --all
-h, --helpPrint help (see a summary with '-h')
Full vulkro publish --help
Scan and publish this repository's posture to your organisation dashboard.

The organisation dashboard is optional and paid (Pro capability `org-publish`). Publishing sends a full-detail schema-3 snapshot (see `docs/org-telemetry.md`) built from the same offline CVE bundle a plain scan uses, so it runs at scan speed. Set VULKRO_CVE_LIVE=1 to add a live public CVE lookup (fresher data, but a network call per advisory). Members can publish; only admins can view. By publishing you accept the terms shown by `vulkro publish --terms`. Authenticated by VULKRO_ORG_TOKEN; the org slug comes from `--org` or VULKRO_ORG; the server from VULKRO_ORG_URL.

Exit codes: `0` published (or previewed), `2` on error (`1` only if the Pro gate refuses).

Usage: vulkro publish [OPTIONS] [PATH]

Arguments:
[PATH]
The repository to scan (defaults to the current directory)

[default: .]

Options:
--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

--org <ORG>
The organisation slug (defaults to $VULKRO_ORG)

--authoritative
Mark this snapshot authoritative (publish from CI on the default branch). Without it the snapshot is `local` and feeds adoption only

-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

--preview
Print the exact snapshot that would be sent, and send nothing

--terms
Print the publishing terms and exit

--all
Publish every immediate git repository under this path (a folder of repositories), each to its own dashboard entry

--from-json <FILE>
Publish an EXISTING scan instead of scanning again: read the scan result JSON from this file (the document `vulkro scan --format json` writes) and build the org snapshot from it. Lets a console or CI reuse a scan it already ran rather than scanning the repository twice. Cannot be combined with `--all`

-h, --help
Print help (see a summary with '-h')