Surveyor

Editions and licenses

The Surveyor comes in four editions. The Surveyor CLI is free, open source and available to everyone: it is the edition most of these docs describe. The other three add surveys of whole artifact repositories and air-gapped operation, and are available by arrangement with Spice Labs.

The editions

EditionWhat it is forUploads to TopographerAir-gappedNeeds a Spice License
Surveyor CLISurvey single artifacts, images and running Java applications, on your machines and in CIYesNoNo
Surveyor ITEverything in the Surveyor CLI, plus surveys of whole artifact repositories and cryptographic call-site analysis of Java applicationsYesNoNo
Surveyor IT ProThe surveys of Surveyor IT, with CBOMs and post-quantum readiness rankings produced on premises, nothing leaving your networkNoYesYes
Surveyor OT ProCBOMs of the cryptographic material (certificates, keys and algorithms) in compiled binaries and device images, from a repository or a file system, fully offlineNoYesYes

The Surveyor CLI and Surveyor IT upload encrypted survey results to Topographer, which needs a Topographer subscription. Surveyor IT Pro and Surveyor OT Pro never upload and need no Spice Labs account: everything they produce stays on the machine that ran them.

Which commands each edition has

Every edition runs the same spice command; what differs is which subcommands it has. A command an edition lacks is not in its spice --help. The same edition names appear as badges beside each command in the CLI reference.

Commands by edition, Surveyor CLI 1.9.2
CommandSurveyor CLISurveyor ITSurveyor IT ProSurveyor OT Pro
spice survey inventorySurvey files, folders and archivesYesYesYesAlways runs locally; pass --output to keep the resultsNo
spice survey inventory docker://<image>Survey a container image straight from its registry (docker:// or oci://)YesYesYesAlways runs locally; pass --output to keep the resultsNo
spice survey runtimeRecord the cryptography a running Java application usesYesYesYesPrints a summary; nothing is uploadedNo
spice survey inventory --upload-only, --upload-args, --chunk-sizeUpload inventory survey results to TopographerYesYesNoNo
spice survey inventory docker://<image> --upload-args, --chunk-sizeUpload image survey results to TopographerYesYesNoNo
spice survey runtime --chunk-sizeUpload runtime survey results to TopographerYesYesNoNo
spice registry discover --output, --maxList the packages and versions in an artifact repository or a folderNoYesYesYes
spice registry cbom --process, --discovery, --output, --threads, --reset, --export-processedBuild a CBOM of every package version a discovery file selects, on this machineNoYesYesYes
spice registry cbomRank the cryptography in each CBOM for post-quantum readiness, with call sitesNoNoYesNo
spice registry runSurvey the versions a discovery file selects and upload the resultsNoYesNoNo
spice registry statusSummarize what the registry runs have doneNoYesYesYes
spice pass decodeShow what your credential holdsYesYesYesYes
spice config explainShow every setting a run would use and where each came fromYesYesYesYes
spice docs --commands, --jsonPrint the help for every command, or the commands as JSONYesYesYesNeeds a valid Spice LicenseYesNeeds a valid Spice License
spice --versionPrint the version and, where a license applies, whether it is validYesYesYesIncludes a license lineYesIncludes a license line
spice generate-completionPrint the tab completion script (generate-powershell-completion for PowerShell)YesYesYesYes

Surveyor OT Pro has no spice survey: its work is done by registry sweeps, over an artifact repository or a folder of files.

Getting access

The Surveyor CLI is on Docker Hub as spicelabs/spice-labs-cli, and the installer sets it up.

Surveyor IT, IT Pro and OT Pro are not self-serve: contact Spice Labs and we arrange access to the edition’s image, and for IT Pro and OT Pro issue your organization a Spice License. Each edition is one Docker image, run by the same spice wrapper the installer sets up:

EditionImageHow the wrapper picks it
Surveyor ITghcr.io/spice-labs-inc/spice-labs-cli-it--features it
Surveyor IT Proghcr.io/spice-labs-inc/spice-labs-cli-itpro--features itpro
Surveyor OT Proghcr.io/spice-labs-inc/spice-labs-cli-otpro--features otpro

--features goes before the command, as in spice --features itpro registry discover. On a machine with no network, load the image you were given and point the wrapper at it with SPICE_IMAGE instead: see Air-gapped setup.

Spice Licenses

The air-gapped editions run only with a Spice License: a credential Spice Labs issues to your organization that names the edition and the features it grants. The Surveyor checks it on your machine, offline, so it works without network access.

Set it in the SPICE_LICENSE environment variable before you run spice:

export SPICE_LICENSE="<your Spice License>"
$env:SPICE_LICENSE = "<your Spice License>"

How to check a license, what happens when it expires and every message a refused run prints are on the Spice License page.

Download the manual

Each edition’s documentation is also one self-contained HTML file that you can keep with the software and read without a network. The Surveyor CLI manual includes the recorded terminal sessions; the others show the same steps as commands.