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

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

View as Markdown

Manage audits. This page documents 8 commands under prb audit.

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 auditManage audits.prb audit <command>View implementation
prb audit createCreate a new audit.prb audit createView implementation
prb audit deleteDelete an audit.prb audit delete <id>View implementation
prb audit link-frameworkLink a framework to an audit.prb audit link-framework <audit-id>View implementation
prb audit listList audits in an organization.prb audit listView implementation
prb audit unlink-frameworkUnlink a framework from an audit.prb audit unlink-framework <audit-id>View implementation
prb audit updateUpdate an audit.prb audit update <id>View implementation
prb audit viewView an audit.prb audit view <id>View implementation

Manage audits.

prb audit <command>

View command implementation.

Create a new audit.

prb audit create
FlagTypeDefaultRequiredDescription
--audit-end-datestring""—Audit end date (e.g. 2026-03-15)
--audit-start-datestring""—Audit start date (e.g. 2026-03-01)
--firmstring""—Audit firm
--frameworkstring array[]—Framework ID (repeat for each framework)
--namestring""—Audit name (required)
--orgstring""—Organization ID
--statestring""—Audit state: TO_BOOK, AUDIT_BOOKED, NOT_STARTED, IN_PROGRESS, COMPLETED, REJECTED, OUTDATED
--valid-fromstring""—Valid from date (e.g. 2026-01-01)
--valid-untilstring""—Valid until date (e.g. 2026-12-31)
Terminal window
# Create an audit interactively
prb audit create
# Create an audit non-interactively
prb audit create --name "SOC 2 Type II 2026" --state IN_PROGRESS --valid-from 2026-01-01 --valid-until 2026-12-31

View command implementation.

Delete an audit.

prb audit delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

Link a framework to an audit.

prb audit link-framework <audit-id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--frameworkstring""—Framework ID

View command implementation.

List audits in an organization.

prb audit 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 audits to list
--order-bystring""—Order by field (CREATED_AT, VALID_FROM, VALID_UNTIL, AUDIT_START_DATE, AUDIT_END_DATE, STATE)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
Terminal window
# List audits in the default organization
prb audit list
# List audits sorted by state
prb audit ls --order-by STATE --output json

View command implementation.

Unlink a framework from an audit.

prb audit unlink-framework <audit-id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--frameworkstring""—Framework ID

View command implementation.

Update an audit.

prb audit update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--audit-end-datestring""—Audit end date (e.g. 2026-03-15)
--audit-start-datestring""—Audit start date (e.g. 2026-03-01)
--firmstring""—Audit firm
--namestring""—Audit name
--statestring""—Audit state: TO_BOOK, AUDIT_BOOKED, NOT_STARTED, IN_PROGRESS, COMPLETED, REJECTED, OUTDATED
--valid-fromstring""—Valid from date (e.g. 2026-01-01)
--valid-untilstring""—Valid until date (e.g. 2026-12-31)

View command implementation.

View an audit.

prb audit view <id>

Requires 1 positional argument.

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

View command implementation.