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 obligation command reference

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

View as Markdown

Manage obligations. This page documents 7 commands under prb obligation.

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 obligationManage obligations.prb obligation <command>View implementation
prb obligation createCreate a new obligation.prb obligation createView implementation
prb obligation deleteDelete an obligation.prb obligation delete <id>View implementation
prb obligation listList obligations in an organization.prb obligation listView implementation
prb obligation publishPublish the obligation register as a document version.prb obligation publishView implementation
prb obligation updateUpdate an obligation.prb obligation update <id>View implementation
prb obligation viewView an obligation.prb obligation view <id>View implementation

Manage obligations.

prb obligation <command>

View command implementation.

Create a new obligation.

prb obligation create
FlagTypeDefaultRequiredDescription
--actions-to-be-implementedstring""—Actions to be implemented
--areastring""—Obligation area (required)
--due-datestring""—Due date (ISO 8601)
--last-review-datestring""—Last review date (ISO 8601)
--orgstring""—Organization ID
--ownerstring""—Owner profile ID (required)
--regulatorstring""—Regulator
--requirementstring""—Obligation requirement
--sourcestring""—Obligation source (required)
--statusstring""—Obligation status: NON_COMPLIANT, PARTIALLY_COMPLIANT, COMPLIANT (required)
--typestring""—Obligation type: LEGAL, CONTRACTUAL (required)
Terminal window
# Create an obligation interactively
prb obligation create
# Create an obligation non-interactively
prb obligation create --area "Data Protection" --source "GDPR Article 5" --status NON_COMPLIANT --type LEGAL --owner <profile-id>

View command implementation.

Delete an obligation.

prb obligation delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List obligations in an organization.

prb obligation list

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--afterstring""—Cursor from the previous page (the Next cursor line)
--jsonbooleanfalse—Output JSON (same as —output json)
--limit, -Linteger30—Maximum number of obligations to list
--order-bystring""—Order by field (CREATED_AT, LAST_REVIEW_DATE, DUE_DATE, STATUS)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
Terminal window
# List obligations in the default organization
prb obligation list
# List obligations sorted by due date
prb obligation ls --order-by DUE_DATE --output json

View command implementation.

Publish the obligation register as a document version.

prb obligation 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 obligation register
prb obligation publish --org ORG_ID
# Publish with approvers
prb obligation publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2

View command implementation.

Update an obligation.

prb obligation update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--actions-to-be-implementedstring""—Actions to be implemented
--areastring""—Obligation area
--due-datestring""—Due date (ISO 8601)
--last-review-datestring""—Last review date (ISO 8601)
--ownerstring""—Owner profile ID
--regulatorstring""—Regulator
--requirementstring""—Obligation requirement
--sourcestring""—Obligation source
--statusstring""—Obligation status: NON_COMPLIANT, PARTIALLY_COMPLIANT, COMPLIANT
--typestring""—Obligation type: LEGAL, CONTRACTUAL

View command implementation.

View an obligation.

prb obligation view <id>

Requires 1 positional argument.

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

View command implementation.