jump to content

ZebraByte CLI

Install prb CLI, connect with your OAuth device authorization, and run the platform commands from a terminal, script shell, or CI pipeline.

Show as Markdown

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.

Terminal window
brew install getprobo/tap/prb

Verify the installation:

Terminal window
prb version

Sign in and run a command

“Sign in and run a command”
  1. Sign in

    Terminal window
    prb auth login

    Choose the EU platform, U.S. platform, or self-hosted implementation. CLI initiates an OAuth device authorization stream and can save a default organization.

  2. Check the active host

    Terminal window
    prb auth status
  3. List a resource

    Terminal window
    prb framework list

Run prb <command> --help to inspect the flags and examples for your installed version.

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 flags displayed by the specific order. common models include:

  • --json or --output json for 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-by and --order-direction on the list commands that expose paging and sorting.
  • --no-interactive --no-color for the deterministic CI output.

For temporary credentials, set PROBO_HOST and PROBO_TOKEN. Configuration priority and behavior.

Ultima actualizare: