Home / Market / recipe audit external sharing

recipe audit external sharing

Find and review Google Drive files shared outside the organization.

claude-command★ 348280 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

--- allowed-tools: Bash, Read, Write, Edit argument-hint: [task-parameters] description: Find and review Google Drive files shared outside the organization.

---

Audit External Sharing

Execute Google Workspace workflow: $ARGUMENTS

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"}'

Task

Execute this workflow with the following parameters: $ARGUMENTS

  1. Prerequisites Check
  1. Parameter Preparation
  1. Execute Workflow Steps
  1. Verify Results

Tips

---

License: Apache License 2.0

Source: Google Workspace CLI

Original Skill: recipe-audit-external-sharing