ZebraByte CLI
Install prb CLI, connect with your OAuth device authorization, and run the platform commands from a terminal, script shell, or CI pipeline.
ZebraByteCLI, prb, allows you to work with the platform from a terminal, shell script, or CI workplace. It covers organizations, frames, controls, risks, audits, documents, access reviews, privacy records, webhooks, devices and administration.
Installation
Section entitled “Installation”brew install getprobo/tap/prbgo install github.com/getprobo/probo/cmd/prb@latestVerify the installation:
prb versionSign in and run a command
“Sign in and run a command”-
Sign in
Terminal window prb auth loginChoose the EU platform, U.S. platform, or self-hosted implementation. CLI initiates an OAuth device authorization stream and can save a default organization.
-
Check the active host
Terminal window prb auth status -
List a resource
Terminal window prb framework list
Run prb <command> --help to inspect the flags and examples for your installed version.
Global flags
Section entitled “Global flags”| Flag | Environment equivalents | Effect |
|---|---|---|
--no-interactive |
PROBO_NO_INTERACTIVE=1, CI=true, DEBIAN_FRONTEND=noninteractive, TERM=dumb |
Disable interactive prompts |
--no-color |
NO_COLOR, TERM=dumb |
Disable ANSI color output |
CLI also becomes non-interactive when the standard input or output is not a terminal. Orders that require confirmation then need their explicit confirmation flag, such as --yes.
Use the CLI in automation
Section entitled “Use the CLI in automation”Use the flags displayed by the specific order. common models include:
--jsonor--output jsonfor an output that can be read by the machine on the commands that support it.--org <organization-id>to replace the default organization.--limit,--order-byand--order-directionon the list commands that expose paging and sorting.--no-interactive --no-colorfor the deterministic CI output.
For temporary credentials, set PROBO_HOST and PROBO_TOKEN. Configuration priority and behavior.