OneTrust integration

Privacy & IT risk: risks, controls, assessments, incidents, audits, data inventory

Help CentreConnectors

Overview

OneTrust covers privacy and IT risk management. The Automize connector works across its risk, control, assessment, incident, audit and data-inventory modules — it creates and updates risks, controls, incidents and inventory records, runs and approves assessments, and searches everything from workpapers to vendor inventory.


Setting up the connection

Auth type: OAuth 2.0 (Client Credentials).

  1. Get the tenant hostname, without a scheme. It is the host you sign in at — app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, or your tenant's own.
  2. In OneTrust, go to Global Settings → Access Management → Client Credentials and create a credential.
  3. Choose its scopes there. They are fixed when the credential is created, so include every module the process touches — a scope added later needs a new credential.
  4. In Automize, open Settings → Connectors → OneTrust → Add connection and paste the hostname, client ID and client secret. Automize exchanges them for an access token per run.

Available operations

42 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Add Controls to RiskGeneralAttach control implementations to a risk
Approve AssessmentGeneralApprove an assessment
Approve RiskGeneralApprove a submitted risk
Create AssessmentGeneralLaunch an assessment from a template
Create Assessment RiskGeneralRaise a risk from within an assessment
Create AuditGeneralCreate an audit
Create ControlGeneralCreate a control
Create IncidentGeneralLog an incident
Create Inventory RecordGeneralCreate a record in an inventory schema
Create RiskGeneralCreate a standalone risk
Delete ControlGeneralDelete a control
Delete RiskGeneralDelete a risk
Export AssessmentGeneralExport one assessment
Get Assessment RecordGeneralGet an assessment's full record, including responses
Get Assessment ResultsGeneralList assessment results
Get AuditGeneralGet one audit by its ID
Get Control ImplementationGeneralGet one control implementation by its GUID
Get IncidentGeneralGet one incident by its ID
Get Inventory RecordGeneralGet one inventory record by schema and ID
Get Inventory SchemaGeneralGet one inventory schema's field definitions
Get RiskGeneralGet one risk by its ID
Get Risk MatrixGeneralGet the tenant's risk-scoring matrix settings
List AssessmentsGeneralList assessments
List InventoriesGeneralList the records of one inventory schema
List Inventory SchemasGeneralList the inventory schemas (assets, processing activities, vendors, entities)
List Risk CategoriesGeneralList the active risk categories
Search Audit WorkpapersGeneralPage through audit workpapers
Search AuditsGeneralPage through audits
Search Control ImplementationsGeneralPage through control implementations
Search ControlsGeneralPage through controls
Search Evidence Task ImplementationsGeneralPage through evidence task implementations
Search IncidentsGeneralSearch incidents
Search RisksGeneralPage through risks. Filter criteria go in the body; page/size/sort are query parameters
Search ThreatsGeneralPage through the threat library
Search Vendor InventoryGeneralSearch the vendor inventory
Search VulnerabilitiesGeneralPage through the vulnerability library
Submit AssessmentGeneralSubmit an assessment for review
Submit RiskGeneralSubmit a risk for review
Update ControlGeneralUpdate an existing control
Update IncidentGeneralUpdate an existing incident
Update Inventory RecordGeneralUpdate a record in an inventory schema
Update RiskGeneralUpdate an existing risk

Operations

Add Controls to Risk

Attach control implementations to a risk

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

Approve Assessment

Approve an assessment

ParameterRequiredTypeDescription
Assessment ID assessmentIdYesstring

Approve Risk

Approve a submitted risk

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

Create Assessment

Launch an assessment from a template

No input parameters.


Create Assessment Risk

Raise a risk from within an assessment

ParameterRequiredTypeDescription
Assessment ID assessmentIdYesstring

Create Audit

Create an audit

No input parameters.


Create Control

Create a control

No input parameters.


Create Incident

Log an incident

No input parameters.


Create Inventory Record

Create a record in an inventory schema

ParameterRequiredTypeDescription
Schema name schemaNameYesstring

Create Risk

Create a standalone risk

No input parameters.


Delete Control

Delete a control

ParameterRequiredTypeDescription
Control ID controlIdYesstring

Delete Risk

Delete a risk

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

Export Assessment

Export one assessment

ParameterRequiredTypeDescription
Assessment ID assessmentIdYesstring

Get Assessment Record

Get an assessment's full record, including responses

ParameterRequiredTypeDescription
Assessment ID assessmentIdYesstring

Get Assessment Results

List assessment results

No input parameters.


Get Audit

Get one audit by its ID

ParameterRequiredTypeDescription
Audit ID auditIdYesstring

Get Control Implementation

Get one control implementation by its GUID

ParameterRequiredTypeDescription
Implementation GUID guidYesstring

Get Incident

Get one incident by its ID

ParameterRequiredTypeDescription
Incident ID incidentIdYesstring

Get Inventory Record

Get one inventory record by schema and ID

ParameterRequiredTypeDescription
Schema name schemaNameYesstring
Inventory record ID idYesstring

Get Inventory Schema

Get one inventory schema's field definitions

ParameterRequiredTypeDescription
Schema name schemaNameYesstring

Get Risk

Get one risk by its ID

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

Get Risk Matrix

Get the tenant's risk-scoring matrix settings

No input parameters.


List Assessments

List assessments

No input parameters.


List Inventories

List the records of one inventory schema

ParameterRequiredTypeDescription
Schema name schemaNameYesstring

List Inventory Schemas

List the inventory schemas (assets, processing activities, vendors, entities)

No input parameters.


List Risk Categories

List the active risk categories

No input parameters.


Search Audit Workpapers

Page through audit workpapers

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Audits

Page through audits

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Control Implementations

Page through control implementations

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Controls

Page through controls

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Evidence Task Implementations

Page through evidence task implementations

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Incidents

Search incidents

No input parameters.


Search Risks

Page through risks. Filter criteria go in the body; page/size/sort are query parameters

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Threats

Page through the threat library

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Search Vendor Inventory

Search the vendor inventory

No input parameters.


Search Vulnerabilities

Page through the vulnerability library

ParameterRequiredTypeDescription
Page (0-indexed) pageNointeger
Page size sizeNointeger
Sort sortNostringe.g. 'name,asc'

Submit Assessment

Submit an assessment for review

ParameterRequiredTypeDescription
Assessment ID assessmentIdYesstring

Submit Risk

Submit a risk for review

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

Update Control

Update an existing control

ParameterRequiredTypeDescription
Control ID controlIdYesstring

Update Incident

Update an existing incident

ParameterRequiredTypeDescription
Incident ID incidentIdYesstring

Update Inventory Record

Update a record in an inventory schema

ParameterRequiredTypeDescription
Schema name schemaNameYesstring
Inventory record ID idYesstring

Update Risk

Update an existing risk

ParameterRequiredTypeDescription
Risk ID riskIdYesstring

FAQ

A call fails with a permission error even though the credential works elsewhere.
Scopes are set when the client credential is created and cannot be widened afterwards. A credential minted for risk work will not reach the assessment or inventory endpoints — create a second credential with the scopes that module needs.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.