top_external_sharers
Identify internal users with the highest external sharing exposure by counting external collaborations and public links on owned content, to surface potential data leakage risks.
Instructions
Rank internal owners by their external exposure (enumeration).
One traversal (same as external_collaborators / public_shared_links), then ranks internal file/folder owners by how much external exposure they hold: external collaborations + open shared links on content they own. Surfaces the people whose content is most exposed outside the organization.
Args: root_folder_id / max_folders / max_depth: traversal bounds (see external_collaborators). top: How many owners to return (default 20).
Coverage note: limited to the co-admin user's visible content and the caps.
Returns folders_scanned, capped, fetch_errors (count of folders
whose lookup hit an API error; coverage is complete only when capped is
false AND fetch_errors is 0), and top_external_sharers (owner,
external_collaborations, public_links, total). On failure {"error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| max_depth | No | ||
| max_folders | No | ||
| root_folder_id | No | 0 |