Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    prb dpia command reference

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

    Markdown

    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.

    CommandDescriptionUsageSource
    prb dpiaManage data protection impact assessments.prb dpia <command>View implementation
    prb dpia createCreate a new data protection impact assessment.prb dpia createView implementation
    prb dpia deleteDelete a data protection impact assessment.prb dpia delete <id>View implementation
    prb dpia listList data protection impact assessments in an organization.prb dpia listView implementation
    prb dpia publishPublish the Data Protection Impact Assessment register as a document version.prb dpia publishView implementation
    prb dpia updateUpdate a data protection impact assessment.prb dpia update <id>View implementation
    prb dpia viewView a data protection impact assessment.prb dpia view <id>View implementation

    Manage data protection impact assessments.

    prb dpia <command>

    View command implementation.

    Create a new data protection impact assessment.

    prb dpia create
    FlagTypeDefaultRequiredDescription
    --descriptionstring""—Description
    --mitigationsstring""—Mitigations
    --necessitystring""—Necessity and proportionality
    --potential-riskstring""—Potential risk
    --processing-activitystring""RequiredProcessing activity ID (required)
    --residual-riskstring""—Residual risk: LOW, MEDIUM, HIGH
    Terminal window
    # Create a DPIA
    prb dpia create --processing-activity <id> --description "Assessment for HR processing"
    # Create a DPIA with all fields
    prb dpia create --processing-activity <id> --description "Assessment" --necessity "Required by law" --potential-risk "Data leak" --mitigations "Encryption" --residual-risk LOW

    View command implementation.

    Delete a data protection impact assessment.

    prb dpia delete <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --yes, -ybooleanfalse—Skip confirmation prompt

    View command implementation.

    List data protection impact assessments in an organization.

    prb dpia 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 data protection impact assessments to list
    --order-bystring""—Order by field (CREATED_AT)
    --order-directionstring"DESC"—Sort direction (ASC, DESC)
    --orgstring""—Organization ID
    --output, -ostring""—Output format: json, table (default)

    View command implementation.

    Publish the Data Protection Impact Assessment register as a document version.

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

    View command implementation.

    Update a data protection impact assessment.

    prb dpia update <id>

    Requires 1 positional argument.

    FlagTypeDefaultRequiredDescription
    --descriptionstring""—Description
    --mitigationsstring""—Mitigations
    --necessitystring""—Necessity and proportionality
    --potential-riskstring""—Potential risk
    --residual-riskstring""—Residual risk: LOW, MEDIUM, HIGH

    View command implementation.

    View a data protection impact assessment.

    prb dpia view <id>

    Requires 1 positional argument.

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

    View command implementation.