Upload external evidence document by control id

Upload external evidence to map to a control

Securitybearer
Request
path Parameters
id
required
number
workspaceId
required
number

The Workspace ID associated to the Account

Request Body schema: multipart/form-data
file
string <binary>
url
string <= 768 characters

The url to the evidence

filename
string <= 191 characters

The name of the evidence

base64File
object

External evidence in Base64 format

description
string <= 30000 characters

The description of the evidence

creationDate
required
string <date-time>

Creation date

renewalDate
required
string

Report renewal date

renewalScheduleType
required
string

The renewal date schedule type of report

Enum: "ONE_MONTH" "TWO_MONTHS" "THREE_MONTHS" "SIX_MONTHS" "ONE_YEAR" "CUSTOM"
Responses
201

Record created!

400

Malformed data and/or validation errors

401

Invalid Authorization

403

You are not allowed to perform this action

404

Record Not Found

413

The file was too large to upload

500

Internal server error

503

Third party system was unavailable

default

Response Code: 412

You must accept the Drata terms and conditions to use the API

post/public/workspaces/{workspaceId}/controls/{id}/external-evidence
Request samples
Response samples
application/json
{
  • "id": "123",
  • "slug": "databases-monitored-and-alarmed",
  • "externalEvidence": "ExternalEvidenceResponseDto[]"
}