Skip to content

Products

Compliance Officer Service Expert-led compliance, end to end Compliance Portal Share security documents securely Document Management Draft, approve, and sign your policies Employee Portal Your whole team’s compliance, in one portal Access Review Monitor user access across all your systems AI Agents Run compliance from the tools you use Cookie Banner Consent that follows every visitor's law Device Agent Continuous security posture for every device Open-source platform Deploy Probo on your own infrastructure

Resources

Probo stories How teams get compliant with Probo Blog Ideas and guidance from the Probo team Guides & tools Practical compliance guides and free tools Love from Customers What customers say about working with Probo Changelog Latest product updates Download Get the Device Agent

Company

About The people and vision powering Probo Careers Join the team building Probo Brand assets Official logos and visual resources Security Review our security and compliance posture
Overview Understand Probo and its core concepts Product Explore Probo's GRC capabilities Developers Explore GraphQL, CLI, MCP, n8n, and webhooks Deployment Probo Cloud, self-hosting, and configuration

Explore

GitHub Explore our open-source compliance tools

Try searching for

Tab to move through results · Enter to open · Esc to close

prb risk command reference

Reference for 7 commands under prb risk, including usage, flag types and defaults, required flags, source examples, and implementation links

View as Markdown

Manage risks. This page documents 7 commands under prb risk.

Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.

CommandDescriptionUsageSource
prb riskManage risks.prb risk <command>View implementation
prb risk createCreate a new risk.prb risk createView implementation
prb risk deleteDelete a risk and its analysis history.prb risk delete <id>View implementation
prb risk listList risks in an organization or unplanned risks on an analysis.prb risk listView implementation
prb risk publishPublish the risk register as a document version.prb risk publishView implementation
prb risk updateUpdate a risk.prb risk update <id>View implementation
prb risk viewView a risk.prb risk view <id>View implementation

Manage risks.

prb risk <command>

View command implementation.

Create a new risk.

prb risk create
FlagTypeDefaultRequiredDescription
--categorystring""—Risk category (required)
--descriptionstring""—Risk description
--namestring""—Risk name (required)
--notestring""—Risk note
--orgstring""—Organization ID
Terminal window
# Create a risk interactively
prb risk create
# Create a risk non-interactively
prb risk create --name "Data breach" --category "Security"

View command implementation.

Delete a risk and its analysis history.

prb risk delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List risks in an organization or unplanned risks on an analysis.

prb risk list

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--afterstring""—Cursor from the previous page (the Next cursor line)
--filter, -qstring""—Filter risks by search query
--jsonbooleanfalse—Output JSON (same as —output json)
--limit, -Linteger30—Maximum number of risks to list
--order-bystring""—Order by field (CREATED_AT, REFERENCE_ID, NAME, CATEGORY, TREATMENT, INHERENT_RISK_SCORE, RESIDUAL_RISK_SCORE)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
--risk-analysisstring""—List unplanned scenario-linked risks on a risk analysis
Terminal window
# List risks in the default organization
prb risk list
# Filter risks by name
prb risk list --filter "data breach"
# List unplanned scenario-linked risks on an analysis
prb risk ls --risk-analysis <id>
# List risks sorted by inherent score
prb risk ls --order-by INHERENT_RISK_SCORE --output json

View command implementation.

Publish the risk register as a document version.

prb risk publish
FlagTypeDefaultRequiredDescription
--approverstring array[]—Approver profile ID (can be repeated; ignored with —minor)
--minorbooleanfalse—Publish as a minor version (no approval flow)
--orgstring""—Organization ID
Terminal window
# Publish the risk register
prb risk publish --org ORG_ID
# Publish with approvers
prb risk publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2

View command implementation.

Update a risk.

prb risk update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--categorystring""—Risk category
--descriptionstring""—Risk description
--namestring""—Risk name
--notestring""—Risk note

View command implementation.

View a risk.

prb risk view <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--jsonbooleanfalse—Output JSON (same as —output json)
--output, -ostring""—Output format: json, table (default)

View command implementation.