Skip to main content

vulkro-sf update

Refreshes the signed vulnerability, rule and compliance data under ~/.vulkro/data/, after offering a newer vulkro-sf binary if one exists.

vulkro-sf update # upgrade check, then refresh data
vulkro-sf update --no-version-check # CI: skip the upgrade prompt
vulkro-sf update --bundle bundle.vkbundle # air-gapped: apply a signed bundle

With no flags it:

  1. Checks the vulkro-sf release channel for a newer binary and offers to install it. This is the only command that checks for a newer version: a scan never does.
  2. Fetches the latest signed data snapshot, verifies it against the trust roots built into the binary, and applies it.
  3. Refreshes the signed Agentforce rules bundle (AP-061 to AP-070) into ~/.vulkro/rules-bundle/. Scans never download it; they use the cached copy or the built-in seed.

vulkro-sf and vulkro share one data store, so updating either refreshes both.

FlagWhat it does
--no-version-checkSkip the upgrade prompt. Same as VULKRO_NO_UPDATE_CHECK=1.
--bundle <path>Verify and apply a .vkbundle delivered out of band.
--verify <path>Check a bundle's signature and print its manifest, writing nothing.
--dest <path>Destination for --bundle. Default ~/.vulkro/data/.
--trust-key <path>Extra trust root for --bundle and --verify. Repeatable.

--create, --out and --add author a new signed bundle (reads the key from VULKRO_SIGNING_KEY).

Air-gapped use​

With VULKRO_OFFLINE=1 (or VULKRO_SF_OFFLINE=1) the command refuses the network. Copy a signed bundle across and apply it with --bundle.

Exit codes​

CodeMeaning
0Success.
2Error (bundle not found, invalid signature, offline without --bundle).

See also: Install

Command reference​

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

Refresh the vulnerability and rule data, or apply a signed offline update file.

vulkro-sf update [OPTIONS]

Options​

FlagDescription
--bundle <PATH>Path to a .vkbundle to verify and apply against ~/.vulkro/data/.
--verify <PATH>Verify the signature of a bundle and print the manifest, without writing anything to disk.
--createAuthor a new bundle. Reads the signing key from $VULKRO_SIGNING_KEY (file path or 64-char hex seed). Pair with --out and one or more --add entries.
--out <PATH>Output path for the new bundle.
--add <KIND:TARGET:SOURCE>Bundle entry to include during --create. Format: kind:target/path:source/path where kind is one of cves, rules, compliance. Repeat --add for each file.
--trust-key <PATH>Extra trust root (32 raw bytes or hex). Repeat to register many. Used by --bundle and --verify in addition to the keys baked into the binary.
--dest <PATH>Override the destination root for --bundle (defaults to ~/.vulkro/data/)
--no-version-checkSkip the interactive "new vulkro-sf version available - upgrade now?" prompt that runs before the default CVE-refresh flow. Use in CI / scripts where the prompt would block. Also honours VULKRO_NO_UPDATE_CHECK=1, which affects this command and nothing else: no scan or other command checks for a newer version.
--selfReplace this binary with the latest signed vulkro-sf release: verifies the ed25519-signed checksums and the archive hash, swaps atomically, keeps the old binary as vulkro-sf.prev. Refused under VULKRO_OFFLINE.
--rollbackPut back the binary the last update --self replaced (vulkro-sf.prev). No network call.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-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.
-h, --helpPrint help (see a summary with '-h')
Full vulkro-sf update --help
Refresh the vulnerability and rule data, or apply a signed offline update file.

Verify, apply, author, or refresh the signed Vulkro data bundle (CVE / rule / compliance data under `~/.vulkro/data/`).

Identical to `vulkro update`: vulkro-sf is built on the same engine and reads the same shared CVE store, so this refreshes the exact same data. With no flags it fetches the latest signed CVE snapshot from the CDN, verifies it against the pinned trust roots, and applies it. Honours `VULKRO_OFFLINE` (set it to refuse all network access; then deliver a bundle out of band and apply it with `--bundle <path>`).

`--create` authors a new signed bundle, reading the signing key from `$VULKRO_SIGNING_KEY` (file path or 64-char hex seed).

With no other flags it first checks the vulkro-sf release channel (`latest-sf.json` / `install-sf.sh`, independent of the general scanner) for a newer binary and offers to install it, then refreshes the CVE data. Pass `--no-version-check` (or set `VULKRO_NO_UPDATE_CHECK=1`) to skip the self-upgrade prompt. This command is the only place vulkro-sf checks the release feed: a scan never does.

The default flow also refreshes the signed Agentforce rules bundle (AP-061..AP-070 catalog) into `~/.vulkro/rules-bundle/`, verifying its signature before it is cached. This is the only way that bundle is downloaded: scans never fetch it, they use the cached copy or the built-in seed. `VULKRO_OFFLINE` / `VULKRO_SF_OFFLINE` skip the refresh.

Exit codes: 0 = success; 2 = error.

Usage: vulkro-sf update [OPTIONS]

Options:
--bundle <PATH>
Path to a .vkbundle to verify and apply against ~/.vulkro/data/

--verify <PATH>
Verify the signature of a bundle and print the manifest, without writing anything to disk

--create
Author a new bundle. Reads the signing key from $VULKRO_SIGNING_KEY (file path or 64-char hex seed). Pair with --out and one or more --add entries

--out <PATH>
Output path for the new bundle

--add <KIND:TARGET:SOURCE>
Bundle entry to include during --create. Format: `kind:target/path:source/path` where `kind` is one of `cves`, `rules`, `compliance`. Repeat --add for each file

--trust-key <PATH>
Extra trust root (32 raw bytes or hex). Repeat to register many. Used by --bundle and --verify in addition to the keys baked into the binary

--dest <PATH>
Override the destination root for `--bundle` (defaults to ~/.vulkro/data/)

--no-version-check
Skip the interactive "new vulkro-sf version available - upgrade now?" prompt that runs before the default CVE-refresh flow. Use in CI / scripts where the prompt would block. Also honours `VULKRO_NO_UPDATE_CHECK=1`, which affects this command and nothing else: no scan or other command checks for a newer version

--self
Replace this binary with the latest signed vulkro-sf release: verifies the ed25519-signed checksums and the archive hash, swaps atomically, keeps the old binary as `vulkro-sf.prev`. Refused under VULKRO_OFFLINE

--rollback
Put back the binary the last `update --self` replaced (`vulkro-sf.prev`). No network call

-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)

-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')