recipe-audit-external-sharing

Find and review Google Drive files shared outside the organization.

googleworkspace/cli624 installsApache-2.0Synced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: recipe-audit-external-sharing
description: Find and review Google Drive files shared outside the organization.
license: Apache-2.0
---

# Audit External Drive Sharing

> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-drive`

Find and review Google Drive files shared outside the organization.

> [!CAUTION]
> Revoking permissions immediately removes access. Confirm with the file owner first.

## Steps

1. List externally shared files: `gws drive files list --params '{"q": "visibility = '\''anyoneWithLink'\''"}'`
2. Check permissions on a file: `gws drive permissions list --params '{"fileId": "FILE_ID"}'`
3. Revoke if needed: `gws drive permissions delete --params '{"fileId": "FILE_ID", "permissionId": "PERM_ID"}'`

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY