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

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

View as Markdown

Manage controls. This page documents 6 commands under prb control.

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 controlManage controls.prb control <command>View implementation
prb control createCreate a new control.prb control createView implementation
prb control deleteDelete a control.prb control delete <id>View implementation
prb control listList controls in a framework.prb control listView implementation
prb control updateUpdate a control.prb control update <id>View implementation
prb control viewView a control.prb control view <id>View implementation

Manage controls.

prb control <command>

View command implementation.

Create a new control.

prb control create

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--best-practicebooleanfalse—Mark as best practice
--descriptionstring""RequiredControl description (required)
--frameworkstring""RequiredFramework ID (required)
--maturity-levelstring"INITIAL"—CMMI maturity level (NONE, INITIAL, MANAGED, DEFINED, QUANTITATIVELY_MANAGED, OPTIMIZING)
--namestring""RequiredControl name (required)
--not-implemented-justificationstring""—Justification when maturity level is NONE
--section-titlestring""RequiredSection title (required)
Terminal window
# Create a control
prb control create --framework FW_ID --section-title "A.5" --name "Information security policies" --description "Policies are defined and reviewed" --maturity-level INITIAL

View command implementation.

Delete a control.

prb control delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List controls in a framework.

prb control list

Accepts no positional arguments.

FlagTypeDefaultRequiredDescription
--afterstring""—Cursor from the previous page (the Next cursor line)
--filter, -qstring""—Filter controls by search query
--frameworkstring""RequiredFramework ID (required)
--jsonbooleanfalse—Output JSON (same as —output json)
--limit, -Linteger30—Maximum number of controls to list
--order-bystring""—Order by field (CREATED_AT, SECTION_TITLE)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--output, -ostring""—Output format: json, table (default)
Terminal window
# List controls in a framework
prb control list --framework <framework-id>
# Filter and output as JSON
prb control ls --framework <framework-id> --filter "access" --output json

View command implementation.

Update a control.

prb control update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--best-practicebooleanfalse—Mark as best practice
--descriptionstring""—Control description
--maturity-levelstring""—CMMI maturity level (NONE, INITIAL, MANAGED, DEFINED, QUANTITATIVELY_MANAGED, OPTIMIZING)
--namestring""—Control name
--not-implemented-justificationstring""—Justification when maturity level is NONE
--section-titlestring""—Section title

View command implementation.

View a control.

prb control view <id>

Requires 1 positional argument.

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

View command implementation.