Find control by control id

List all the information for a specific control

Securitybearer
Request
path Parameters
controlId
required
number
workspaceId
required
number

The Workspace ID associated to the Account

Responses
200
400

Malformed data and/or validation errors

401

Invalid Authorization

402

Response Code 402

You must pay to activate this feature

403

You are not allowed to perform this action

404

Record Not Found

500

Internal server error

default

Response Code: 412

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

get/workspaces/{workspaceId}/controls/{controlId}
Request samples
Response samples
application/json
{
  • "id": "123",
  • "name": "Databases Monitored and Alarmed",
  • "code": "DCF-1002",
  • "description": "Drata has implemented tools to monitor Drata's databases and notify appropriate personnel of any events or incidents based on predetermined criteria. Incidents are escalated per policy.",
  • "question": "Does the organization implement tools to monitor its databases and notify appropriate personnel of incidents based on predetermined criteria?",
  • "activity": "1. Ensure tools are implemented to monitor databases",
  • "slug": "databases-monitored-and-alarmed",
  • "archivedAt": "2020-07-06 12:00:00.000000",
  • "lastUpdatedBy": "User",
  • "updatedAt": "2020-07-06 12:00:00.000000",
  • "fk_control_template_id": "123",
  • "hasEvidence": true,
  • "hasPolicy": true,
  • "isReady": "true",
  • "hasTicket": "true"
}