google-workspace-export
Installation
SKILL.md
Google Workspace GWS Export
Use this skill to collect read-only Google Workspace audit evidence for security analysis.
Workflow
- Confirm the tenant, audit window, and output directory.
- Verify
gwsis authenticated with read-only Admin Reports and Usage Reports scopes. - Run
scripts/export_workspace_reports.shwith explicit--start,--end, and--output-dirvalues. - Preserve the raw
*.ndjson,*.err, manifest, and customer usage report files unchanged. - Hand the output directory to shadow AI, OAuth, Drive, login, Gemini, or weekly-report analysis skills.
Required Scopes
Use read-only scopes only:
https://www.googleapis.com/auth/admin.reports.audit.readonlyhttps://www.googleapis.com/auth/admin.reports.usage.readonly