Get controls associated with a policy

Returns the controls associated with a policy

Securitybearer
Request
path Parameters
policyId
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

You must pay to activate this feature

403

You are not allowed to perform this action

404

Record Not Found

412

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

500

Internal server error

get/workspaces/{workspaceId}/policies/{policyId}/associated-controls
Request samples
Response samples
application/json
{
  • "controls": [
    • {
      • "id": 2,
      • "code": "DCF-12",
      • "name": "Privacy Policy",
      • "description": "Drata authorizes access to information resources, including data...",
      • "isReady": true
      }
    ]
}