Extracting Attachments from the OneTrust Platform
You can contact your OneTrust Consultant to submit a request to access your encrypted attachments. Customer Attachments are stored in an Azure Storage Account as private Blob documents in an encrypted format. OneTrust can share these attachments by decrypting them programmatically and encrypting them in a customer-provided Public Key. Your OneTrust Consultant will then contact the respective OneTrust Product Team to process the request and provide you with a download link of the data encrypted with your key. This download link will be valid for four weeks.
To request access
Please provide the following details to your OneTrust Consultant:
If submitting this request through OneTrust Support, please include evidence that the request is from a Site Admin of your company, such as a screenshot of the Roles screen for the user submitting the request.
To generate PGP keys and decrypt attachments
The following guide is based on an open source GPG tool. Customers can use any encryption tool to generate a Private Key and Public Key.
brew install gnupg
gpg --version
Step 1: Install GNUPG
For Mac OS:
Ensure the gpg tool is installed on your machine. For Mac OS, you can use the following command:
brew install gnupg
For Windows:
If you have Cygwin installed, you may already have GPG installed. You can verify if GPG is installed on your computer by running the following command:
gpg --version
If this command throws an error, then GPG is not installed on your computer. You can install GPG using the following steps:
Step 2: Generate PGP keys
For Mac OS & Windows:
Step 3: Download & Decrypt Attachments
Understanding the Manifest File
Along with the attachments, a manifest CSV file will be present in the export. An example of how the manifest file looks is shown below:
The following details outline how to map an attachment to its respective resource (object):
-
The
ReferenceIdcolumn in the manifest file represents the unique identifier of the object, such as an Assessment ID, Vendor ID, or Inventory ID. -
If you know the UUID of the object you're interested in, you can use it to find the corresponding
AttachmentId. -
The value in the
AttachmentIdcolumn will be the name of the subfolder inside the exported download directory, which contains the files attached to the respective object.
Example from the sample manifest file in the image above:
-
ReferenceId:2485c34e-c3c4-4e4e-a1fa-62565eac7c5a(represents an object) -
Corresponding
AttachmentId:be7d5199-5c0c-4832-b0b0-d3ccdb599902 -
The folder named
be7d5199-5c0c-4832-b0b0-d3ccdb599902will contain the file(s) attached to that object.