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 treatment-plan command reference

Reference for 6 commands under prb treatment-plan, including usage, flag types and defaults, required flags, source examples, and implementation links

View as Markdown

Manage treatment plans. This page documents 6 commands under prb treatment-plan.

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 treatment-planManage treatment plans.prb treatment-plan <command>View implementation
prb treatment-plan createCreate a new treatment plan.prb treatment-plan createView implementation
prb treatment-plan deleteDelete a treatment plan.prb treatment-plan delete <id>View implementation
prb treatment-plan listList treatment plans.prb treatment-plan listView implementation
prb treatment-plan updateUpdate a treatment plan.prb treatment-plan update <id>View implementation
prb treatment-plan viewView a treatment plan.prb treatment-plan view <id>View implementation

Manage treatment plans.

prb treatment-plan <command>

View command implementation.

Create a new treatment plan.

prb treatment-plan create
FlagTypeDefaultRequiredDescription
--inherent-impactinteger0RequiredInherent impact (required)
--inherent-likelihoodinteger0RequiredInherent likelihood (required)
--ownerstring""—Owner profile ID (required)
--residual-impactinteger0—Residual impact
--residual-likelihoodinteger0—Residual likelihood
--riskstring""—Risk ID (required)
--risk-analysisstring""—Risk analysis ID (required)
--treatmentstring""—Treatment: MITIGATED, ACCEPTED, AVOIDED, TRANSFERRED (required)
Terminal window
# Create a treatment plan interactively
prb treatment-plan create --inherent-likelihood 3 --inherent-impact 4
# Create a treatment plan non-interactively
prb treatment-plan create --risk <id> --risk-analysis <id> --treatment MITIGATED --owner <id> --inherent-likelihood 3 --inherent-impact 4

View command implementation.

Delete a treatment plan.

prb treatment-plan delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List treatment plans.

prb treatment-plan list

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--afterstring""—Cursor from the previous page (the Next cursor line)
--as-ofstring""—Reconstruct plans as of this RFC3339 instant (requires —risk-analysis; omit for live tables)
--impactinteger0—Filter by impact (with —score-type and —likelihood)
--jsonbooleanfalse—Output JSON (same as —output json)
--likelihoodinteger0—Filter by likelihood (with —score-type and —impact)
--limit, -Linteger30—Maximum number of treatment plans to list
--order-bystring""—Order by field (CREATED_AT, TREATMENT, CATEGORY, INHERENT_RISK_SCORE, RESIDUAL_RISK_SCORE)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
--riskstring""—List plans for a risk ID
--risk-analysisstring""—List plans for a risk analysis ID
--score-typestring""—Filter by matrix score type (INHERENT, NET, RESIDUAL)
Terminal window
# List treatment plans in the default organization
prb treatment-plan list
# List treatment plans for a risk analysis
prb treatment-plan ls --risk-analysis <id>

View command implementation.

Update a treatment plan.

prb treatment-plan update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--inherent-impactinteger0—Inherent impact
--inherent-likelihoodinteger0—Inherent likelihood
--ownerstring""—Owner profile ID
--residual-impactinteger0—Residual impact
--residual-likelihoodinteger0—Residual likelihood
--treatmentstring""—Treatment: MITIGATED, ACCEPTED, AVOIDED, TRANSFERRED

View command implementation.

View a treatment plan.

prb treatment-plan view <id>

Requires 1 positional argument.

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

View command implementation.