> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/workflows/bulk-remediation/apply-a-bulk-action.md).

# Apply a bulk action

When you select any number of assets or external users to remediate, you can choose to run an assessment before remediating, or just remediate without any assessment:

* [Assess and remediate](/docontrol-user-guide/workflows/bulk-remediation/apply-a-bulk-action/assess-and-remediate.md) - DoControl evaluates the selected inventory items and delivers an assessment report before remediating. This is critical when you remediate Google shared drive assets with inherited permissions.
* [Just remediate](/docontrol-user-guide/workflows/bulk-remediation/apply-a-bulk-action/just-remediate.md) - Run workflows directly on selected inventory items to remediate, without any assessment report.

Bulk remediation at scale is unique to DoControl, especially the scale of our remediation capabilities, together with the complete and transparent handling of assets with [inherited permissions](/docontrol-user-guide/workflows/bulk-remediation.md#what-are-inherited-permissions-in-shared-drives).

{% hint style="warning" %}

* You can multi-select **all** filtered assets in bulk across multiple pages to remediate (except for external users filtered by identity filters)
* You can remediate up to **100,000** Google Drive permissions at a time by filtering your inventory according to the relevant file segments.
* You can remediate up to **3,000** Google Workspace shadow apps or user tokens at a time, up to **10,000** in 24 hours.
* You can remediate up to **50,000** Box permissions. See Box inventory actions.
* You can run up to 10 remediation actions in parallel.
  {% endhint %}

<div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FcWLwhGnAUmT1kXJHEZn0%2Fjust%20remediate%20inherited.png?alt=media&amp;token=0341ec2f-f299-4f72-b9f6-fe682befbc2d" alt="" width="563"><figcaption><p>You can either run an assessment before remediating assets, or just remediate directly without assessment</p></figcaption></figure></div>

{% hint style="info" %}
Click [View remediations](/docontrol-user-guide/workflows/bulk-remediation/apply-a-bulk-action/view-remediations-and-assessments.md) to see all your recent and in-progress remediations.
{% endhint %}

## Types of bulk actions

There are several inventory actions you can apply in bulk to Google Drive assets:

<table><thead><tr><th width="281">Bulk action</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#remove-external-collaborators">Remove external collaborators</a></td><td>All user permissions outside your company domain will be removed from selected assets</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#remove-specific-collaborators">Remove specific collaborators</a></td><td>Specific external collaborators outside your company domain will be removed from selected assets, based on your filter criteria</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#remove-org-wide-sharing">Remove org-wide sharing</a></td><td>The organization-wide access permission will be removed from selected assets</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#remove-public-sharing">Remove public sharing</a></td><td>The “Anyone with the link” permission will be removed from selected assets</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#remove-permissions">Remove permissions</a></td><td><ul><li>Selected external user permissions will be removed from all assets. Internal collaborators and asset owners will still have access. </li><li>If you apply Identity filters, you currently cannot multi-select all results for remediation. You can remediate external users page-by-page.</li></ul></td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions.md#change-owner">Change owner</a></td><td>Assets in a specific user's My Drive will be transferred to another user's My Drive. This action is not relevant for shared drive assets.</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-workspace-inventory-actions.md">Remove shadow apps</a></td><td>Remove specific users from an unauthorized shadow app, or remove unsanctioned shadow apps from your organization's Google Workspace</td><td></td></tr><tr><td><a href="/docontrol-user-guide/workflows/inventory-actions-quick-actions/google-drive-inventory-actions/move-file.md">Move file</a></td><td>Move files from a shared drive to another shared drive, or to the integration admin's My Drive. </td><td></td></tr></tbody></table>

{% hint style="info" %}

* You can remediate up to 100,000 permissions in bulk.
* For shadow apps, you can remediate up to 3,000 users or apps each time, up to a maximum of 10,000 in 24 hours.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/workflows/bulk-remediation/apply-a-bulk-action.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
