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

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

View as Markdown

Manage assets. This page documents 7 commands under prb asset.

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

Manage assets.

prb asset <command>

View command implementation.

Create a new asset.

prb asset create
FlagTypeDefaultRequiredDescription
--amountinteger0—Asset amount (required, at least 1)
--asset-typestring""—Asset type: PHYSICAL, VIRTUAL (required)
--data-types-storedstring""—Data types stored (required)
--namestring""—Asset name (required)
--orgstring""—Organization ID
--ownerstring""—Owner profile ID (required)
--third-party-idsstring list[]—Third party IDs (comma-separated)
Terminal window
# Create an asset interactively
prb asset create
# Create an asset non-interactively
prb asset create --name "Production Database" --asset-type VIRTUAL --amount 1 --owner <profile-id> --data-types-stored "Customer records"

View command implementation.

Delete an asset.

prb asset delete <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--yes, -ybooleanfalse—Skip confirmation prompt

View command implementation.

List assets in an organization.

prb asset 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 assets to list
--order-bystring""—Order by field (CREATED_AT, AMOUNT)
--order-directionstring"DESC"—Sort direction (ASC, DESC)
--orgstring""—Organization ID
--output, -ostring""—Output format: json, table (default)
Terminal window
# List assets in the default organization
prb asset list
# List assets sorted by amount
prb asset ls --order-by AMOUNT --output json

View command implementation.

Publish the asset list as a document version.

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

View command implementation.

Update an asset.

prb asset update <id>

Requires 1 positional argument.

FlagTypeDefaultRequiredDescription
--amountinteger0—Asset amount
--asset-typestring""—Asset type: PHYSICAL, VIRTUAL
--data-types-storedstring""—Data types stored
--namestring""—Asset name
--ownerstring""—Owner profile ID
--third-party-idsstring list[]—Third party IDs (comma-separated)

View command implementation.

View an asset.

prb asset view <id>

Requires 1 positional argument.

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

View command implementation.