jump to content

ZebraByte CLI

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

View as Markdown

The ZebraByte CLI, prb, lets you work with the platform from a terminal, shell script, or CI job. It covers organizations, frameworks, controls, risks, audits, documents, access reviews, privacy records, webhooks, devices, and administration.

brew install getprobo/tap/prb

Verify the installation:

prb version
  1. Sign in

    prb auth login
    

    Choose the platform EU, the platform US, or a self-hosted deployment. The CLI starts an OAuth device authorization flow and can save a default organization.

  2. Check the active host

    prb auth status
    
  3. List a resource

    prb framework list
    

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

FlagEnvironment equivalentsEffect
--no-interactivePROBO_NO_INTERACTIVE=1, CI=true, DEBIAN_FRONTEND=noninteractive, TERM=dumbDisable interactive prompts
--no-colorNO_COLOR, TERM=dumbDisable ANSI color output

The CLI also becomes non-interactive when standard input or output is not a terminal. Commands that require confirmation then need their explicit confirmation flag, such as --yes.

Use the flags exposed by the specific command. Common patterns include:

  • --json or --output json for machine-readable output on commands that support it.
  • --org <organization-id> to override the default organization.
  • --limit, --order-by, and --order-direction on list commands that expose pagination and sorting.
  • --no-interactive --no-color for deterministic CI output.

For temporary credentials, set PROBO_HOST and PROBO_TOKEN. Avoid printing the token, passing it as a command-line argument, or writing it into a repository. See Configuration for precedence and behavior.

Ultima actualizare: