Skip to content

ripeart/Shared-Drive-Audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Google Workspace Shared Drive Audit

Thess scripts generate a read-only access audit report for all Shared Drives in your Google Workspace domain. They lists roles, access types, file counts, and external sharing status to help teams enforce RBAC policies.

πŸš€ Usage

  1. Create a Google Cloud project and service account with domain-wide delegation.
  2. Authorize the following scopes:
    • https://www.googleapis.com/auth/drive
    • https://www.googleapis.com/auth/drive.readonly
    • https://www.googleapis.com/auth/drive.metadata.readonly
  3. Replace ADMIN_EMAIL and KEY_FILE in the script with your own values.
  4. Run the script in Google Cloud Shell or any Python 3 environment.

πŸ“„ Output

The script prints a Markdown-formatted table suitable for pasting into Confluence or Google Docs.

About

Read-only access audit report for all Shared Drives

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages