> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Drata

> **This Connector is in Beta**
>
> Merge has validated Drata against the provider's documented API and not yet verified it against the live one, so its behavior can differ from the documentation. It carries the same tool surface it will have at general availability. [Connectors overview](/merge-agent-handler/connectors/overview) covers the tier and how to turn Beta Connectors off.

> **Ready to connect**
>
> No custom OAuth app setup required. Sign in or provide your credentials to connect.

**Authentication:** API key. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* List the controls with failing monitoring tests and who owns each one.
* Add a new vendor and start a security review for it.
* Add an evidence item for the quarterly access review control using an existing file URL or uploaded file key

## Available Tools

#### create_asset

Create an asset. Use `list_users` to find owner (ownerId) user ids.

#### create_control

Inline file uploads are not supported; use URLs or pre-uploaded file keys where available.

#### create_evidence

Create an evidence item. Use `list_workspaces` to find workspace id.

#### create_evidence_library_item

Inline file uploads are not supported; use URLs or pre-uploaded file keys where available.

#### create_monitoring_test

Create a monitoring test. Use `list_workspaces` to find workspace id.

#### create_policy

Create a policy. Use `list_users` to find owner (ownerId) user ids; use `list_groups` to find acknowledgement group ids.

#### create_risk

Create a risk. Use `list_risk_registers` to find risk register id; `list_users` for owners/reviewers; `list_controls` for controls; `list_vendors` for vendorId.

#### create_risk_register

Create a risk register.

#### create_task

Create a task. Use `list_workspaces` to find workspace id; `list_users` for assigneeId; `list_controls`, `list_risks`, `list_policies` for the ids to link.

#### create_vendor

Create a vendor. Use `list_users` to find the compliance owner (userId) user id.

#### create_vendor_security_review

Create a vendor security review. Use `list_vendors` to find vendor id.

#### create_vendor_type

Create a vendor type.

#### delete_asset

Delete an asset by ID. Use `list_assets` to find asset id.

#### delete_evidence

Delete an evidence item by ID. Use `list_workspaces` to find workspace id. Use `list_evidence` to find evidence id.

#### delete_evidence_library_item

Delete an evidence library item by ID. Use `list_workspaces` to find workspace id.

#### delete_risk

Delete a risk by ID. Use `list_risk_registers` to find risk register id. Use `list_risks` to find risk id.

#### delete_risk_register

Delete a risk register by ID. Use `list_risk_registers` to find risk register id.

#### delete_vendor

Delete a vendor by ID. Use `list_vendors` to find vendor id.

#### delete_vendor_type

Delete a vendor type by ID. Use `list_vendor_types` to find vendor type id.

#### get_asset

Get a single asset by ID. Use `list_assets` to find asset id.

#### get_company

Get the current Drata company account details.

#### get_control

Get a single control by ID. Use `list_workspaces` to find workspace id. Use `list_controls` to find control id.

#### get_custom_field_definition

Get a single custom field definition by ID. Use `list_custom_field_definitions` to find custom field id.

#### get_device

Get a single device by ID. Use `list_devices` to find device id.

#### get_event

Get a single event by ID. Use `list_events` to find event id.

#### get_evidence

Get a single evidence item by ID. Use `list_workspaces` to find workspace id. Use `list_evidence` to find evidence id.

#### get_evidence_library_item

Get a single evidence library item by ID.

#### get_monitoring_test

Get a single monitoring test by ID. Use `list_workspaces` to find workspace id.

#### get_personnel

Get a single person by ID. Use `list_personnel` to find personnel id.

#### get_policy

Get a single policy by ID. Use `list_policies` to find policy id.

#### get_policy_version

Get a single policy version by ID. Use `list_policies` to find policy id.

#### get_risk

Get a single risk by ID. Use `list_risk_registers` to find risk register id. Use `list_risks` to find risk id.

#### get_risk_register

Get a single risk register by ID. Use `list_risk_registers` to find risk register id.

#### get_role

Get a single role and its permissions by ID. Use `list_roles` to find role id.

#### get_task

Get a single task by ID. Use `list_workspaces` to find workspace id. Use `list_tasks` to find task id.

#### get_user

Get a single user and their roles by ID. Use `list_users` to find user id.

#### get_user_document

Get a single user document by ID. Use `list_users` to find user id.

#### get_vendor

Get a single vendor by ID. Use `list_vendors` to find vendor id.

#### get_vendor_document

Get a single vendor document by ID. Use `list_vendors` to find vendor id.

#### get_vendor_stats

Get aggregate vendor statistics. Requires at least one expand facet.

#### list_assets

List assets with cursor pagination.

#### list_control_requirements

List the framework requirements mapped to a control.

#### list_controls

List controls with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_custom_field_definitions

List custom field definitions with cursor pagination.

#### list_device_apps

List the apps installed on a device, with cursor pagination. Use `list_devices` to find device id.

#### list_devices

List devices with cursor pagination.

#### list_events

List events with cursor pagination.

#### list_evidence

List evidence with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_evidence_artifacts

List the artifacts attached to an evidence item, with cursor pagination.

#### list_evidence_library

List evidence library items with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_framework_requirements

List all framework requirements in a workspace with cursor pagination, across every framework.

#### list_frameworks

List frameworks with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_groups

List groups with cursor pagination.

#### list_monitoring_test_failures

List the failing resources of a monitoring test, with cursor pagination.

#### list_monitoring_test_passes

List the passing resources of a monitoring test, with cursor pagination.

#### list_monitoring_tests

List monitoring tests with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_personnel

List personnel with cursor pagination.

#### list_personnel_devices

List the devices assigned to a person, with cursor pagination. Use `list_personnel` to find personnel id.

#### list_policies

List policies with cursor pagination.

#### list_policy_versions

List the versions of a policy, with cursor pagination. Use `list_policies` to find policy id.

#### list_requirements_for_framework

List the requirements belonging to one framework, with cursor pagination.

#### list_risk_registers

List risk registers with cursor pagination.

#### list_risks

List risks with cursor pagination. Use `list_risk_registers` to find risk register id.

#### list_role_users

List the users assigned a given role, with cursor pagination. Use `list_roles` to find role id.

#### list_roles

List roles and their permissions, with cursor pagination.

#### list_tasks

List tasks in a workspace, with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_upcoming_tasks

List upcoming tasks in a workspace, with cursor pagination. Use `list_workspaces` to find workspace id.

#### list_user_documents

List user documents with cursor pagination. Use `list_users` to find user id.

#### list_users

List users and the roles they hold, with cursor pagination.

#### list_vendor_documents

List vendor documents with cursor pagination. Use `list_vendors` to find vendor id.

#### list_vendor_security_reviews

List vendor security reviews with cursor pagination.

#### list_vendor_types

List vendor types with cursor pagination.

#### list_vendors

List vendors with cursor pagination.

#### list_workspaces

List workspaces with cursor pagination.

#### run_monitoring_test

Trigger a re-run of a monitoring test by ID.

#### search_personnel

Search personnel with filters and an optional free-text query.

#### search_risks

Search risks with filters and an optional free-text query.

#### search_vendors

Search vendors with filters and an optional free-text query.

#### update_asset

Update an existing asset. Use `list_assets` to find asset id.

#### update_control

Update an existing control. Use `list_workspaces` to find workspace id. Use `list_controls` to find control id.

#### update_evidence

Update an existing evidence item. Use `list_workspaces` to find workspace id. Use `list_evidence` to find evidence id.

#### update_evidence_library_item

Inline file uploads are not supported; use URLs or pre-uploaded file keys where available.

#### update_monitoring_test

Update an existing monitoring test. Use `list_workspaces` to find workspace id.

#### update_personnel

Update an existing person record. Use `list_personnel` to find personnel id.

#### update_policy

Update an existing policy. Use `list_policies` to find policy id.

#### update_risk

Update an existing risk. Use `list_risk_registers` to find risk register id. Use `list_risks` to find risk id.

#### update_risk_register

Update an existing risk register. Use `list_risk_registers` to find risk register id.

#### update_task

Update an existing task. Use `list_workspaces` to find workspace id. Use `list_tasks` to find task id.

#### update_vendor

Update an existing vendor. Use `list_vendors` to find vendor id.

#### update_vendor_type

Update an existing vendor type. Use `list_vendor_types` to find vendor type id.