The Control Library is a catalog of pre-built Control Templates that can be provisioned into a Workspace. Each item carries default mappings to Tests, Policies, Evidence, and Framework Requirements.
Returns a paginated list of Control Templates with optional field and relational filters.
🔒 Requires Controls: List Controls permission.
💎 Requires your account have the Custom Frameworks feature. Contact your CSM for help upgrading.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1042,
- "code": "DCF-42",
- "controlNumber": 42,
- "name": "Access Control Policy",
- "description": "Documented policy describing access controls...",
- "question": "Does the company enforce documented access controls?",
- "activity": "Review and approve access requests at least quarterly.",
- "domain": "DATA_AND_PRIVACY",
- "category": "CUSTOMER_DATA_POLICIES",
- "inUse": true
}
], - "pagination": {
- "cursor": "string",
- "totalCount": 0
}
}Returns a single Control Template by id with optional expand-gated relations.
🔒 Requires Controls: List Controls permission.
💎 Requires your account have the Custom Frameworks feature. Contact your CSM for help upgrading.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "id": 1042,
- "code": "DCF-42",
- "controlNumber": 42,
- "name": "Access Control Policy",
- "description": "Documented policy describing access controls...",
- "question": "Does the company enforce documented access controls?",
- "activity": "Review and approve access requests at least quarterly.",
- "domain": "DATA_AND_PRIVACY",
- "category": "CUSTOMER_DATA_POLICIES",
- "inUse": true,
- "testTemplates": [
- {
- "id": 305,
- "name": "MFA Enabled Across Workforce",
- "description": "Verifies multi-factor authentication is enabled for all workforce identities.",
- "rating": "RECOMMENDED",
- "source": "DRATA"
}
], - "policyTemplates": [
- {
- "id": 201,
- "name": "Access Control Policy",
- "description": "Documents the company approach to provisioning, reviewing, and revoking access..."
}
], - "evidenceTemplates": [
- {
- "id": 412,
- "evidenceTemplateCode": "DEC-12",
- "name": "Quarterly Access Review",
- "requestDescription": "Upload a signed copy of the most recent quarterly access review.",
- "implementationGuidance": "Export the access list from your IdP and have a Control owner sign-off."
}
], - "requirementTemplates": [
- {
- "id": 501,
- "name": "CC6.1",
- "description": "The entity implements logical access security software, infrastructure, and architectures...",
- "longDescription": "Extended narrative covering scope and exceptions...",
- "additionalInfo": "Additional context for auditors.",
- "additionalInfo2": "string",
- "additionalInfo3": "string",
- "framework": {
- "slug": "soc2",
- "name": "SOC 2"
}
}
], - "controlsUsingTemplate": [
- {
- "controlId": 8801,
- "code": "DCF-042",
- "workspaceId": 100,
- "workspaceName": "Production"
}
]
}