prb dpia command reference
Reference for 7 commands under prb dpia, including usage, flag types and defaults, required flags, source examples, and implementation links
Manage data protection impact assessments. This page documents 7 commands under prb dpia.
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.
Commands
Section titled “Commands”| Command | Description | Usage | Source |
|---|---|---|---|
prb dpia | Manage data protection impact assessments. | prb dpia <command> | View implementation |
prb dpia create | Create a new data protection impact assessment. | prb dpia create | View implementation |
prb dpia delete | Delete a data protection impact assessment. | prb dpia delete <id> | View implementation |
prb dpia list | List data protection impact assessments in an organization. | prb dpia list | View implementation |
prb dpia publish | Publish the Data Protection Impact Assessment register as a document version. | prb dpia publish | View implementation |
prb dpia update | Update a data protection impact assessment. | prb dpia update <id> | View implementation |
prb dpia view | View a data protection impact assessment. | prb dpia view <id> | View implementation |
prb dpia
Section titled “prb dpia”Manage data protection impact assessments.
prb dpia <command>prb dpia create
Section titled “prb dpia create”Create a new data protection impact assessment.
prb dpia create| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--description | string | "" | — | Description |
--mitigations | string | "" | — | Mitigations |
--necessity | string | "" | — | Necessity and proportionality |
--potential-risk | string | "" | — | Potential risk |
--processing-activity | string | "" | Required | Processing activity ID (required) |
--residual-risk | string | "" | — | Residual risk: LOW, MEDIUM, HIGH |
Examples
Section titled “Examples”# Create a DPIAprb dpia create --processing-activity <id> --description "Assessment for HR processing"
# Create a DPIA with all fieldsprb dpia create --processing-activity <id> --description "Assessment" --necessity "Required by law" --potential-risk "Data leak" --mitigations "Encryption" --residual-risk LOWprb dpia delete
Section titled “prb dpia delete”Delete a data protection impact assessment.
prb dpia delete <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--yes, -y | boolean | false | — | Skip confirmation prompt |
prb dpia list
Section titled “prb dpia list”List data protection impact assessments in an organization.
prb dpia listAccepts no positional arguments.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--after | string | "" | — | Cursor from the previous page (the Next cursor line) |
--json | boolean | false | — | Output JSON (same as —output json) |
--limit, -L | integer | 30 | — | Maximum number of data protection impact assessments to list |
--order-by | string | "" | — | Order by field (CREATED_AT) |
--order-direction | string | "DESC" | — | Sort direction (ASC, DESC) |
--org | string | "" | — | Organization ID |
--output, -o | string | "" | — | Output format: json, table (default) |
prb dpia publish
Section titled “prb dpia publish”Publish the Data Protection Impact Assessment register as a document version.
prb dpia publish| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--approver | string array | [] | — | Approver profile ID (can be repeated; ignored with —minor) |
--minor | boolean | false | — | Publish as a minor version (no approval flow) |
--org | string | "" | — | Organization ID |
Examples
Section titled “Examples”# Publish the DPIA registerprb dpia publish --org ORG_ID
# Publish with approversprb dpia publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2prb dpia update
Section titled “prb dpia update”Update a data protection impact assessment.
prb dpia update <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--description | string | "" | — | Description |
--mitigations | string | "" | — | Mitigations |
--necessity | string | "" | — | Necessity and proportionality |
--potential-risk | string | "" | — | Potential risk |
--residual-risk | string | "" | — | Residual risk: LOW, MEDIUM, HIGH |
prb dpia view
Section titled “prb dpia view”View a data protection impact assessment.
prb dpia view <id>Requires 1 positional argument.
| Flag | Type | Default | Required | Description |
|---|---|---|---|---|
--json | boolean | false | — | Output JSON (same as —output json) |
--output, -o | string | "" | — | Output format: json, table (default) |