Skip to content About The people and vision powering Probo Blog The latest news from Probo Stories Hear from our customers Changelog Latest product updates Docs Documentation for Probo GitHub Explore our open-source compliance tools

CLI: Risks

The prb risk commands let you create, list, view, update, and delete risks. In interactive mode, prb risk create prompts you for required fields.

Terminal window
prb risk create \
--name "Data breach via unpatched systems" \
--category "Technical" \
--treatment MITIGATED \
--inherent-likelihood 4 \
--inherent-impact 5
FlagRequiredDescription
--nameYes*Risk name
--categoryYes*Risk category
--treatmentYes*Treatment strategy: MITIGATED, ACCEPTED, AVOIDED, TRANSFERRED
--inherent-likelihoodNoInherent likelihood score (1–5)
--inherent-impactNoInherent impact score (1–5)
--residual-likelihoodNoResidual likelihood score (1–5)
--residual-impactNoResidual impact score (1–5)
--orgNoOrganization ID
--descriptionNoRisk description
--noteNoAdditional notes
--ownerNoRisk owner (user ID)

* Prompted interactively if not provided.

Terminal window
prb risk list
FlagDefaultDescription
--orgOrganization ID
--limit, -L30Maximum number of results
--order-byCREATED_ATSort field: CREATED_AT, NAME, CATEGORY, TREATMENT, INHERENT_RISK_SCORE, RESIDUAL_RISK_SCORE
--order-directionDESCSort direction: ASC or DESC
--filter, -qFilter risks by text
--outputOutput format
Terminal window
prb risk view RISK_ID

Displays the risk details including inherent and residual scores, likelihood, and impact.

FlagDescription
--output, -oOutput format
Terminal window
prb risk update RISK_ID --treatment ACCEPTED --residual-likelihood 2 --residual-impact 3
FlagDescription
--nameUpdated risk name
--categoryUpdated category
--treatmentUpdated treatment strategy
--inherent-likelihoodUpdated inherent likelihood (1–5)
--inherent-impactUpdated inherent impact (1–5)
--residual-likelihoodUpdated residual likelihood (1–5)
--residual-impactUpdated residual impact (1–5)
--descriptionUpdated description
--noteUpdated notes
--ownerUpdated owner
Terminal window
prb risk delete RISK_ID