FAQ | This is a LIVE service | Changelog

Drive Management Tool - Step 1 - framework and gain list of users to scan

Step 1

  • Build the usual framework (setup.py, .gitlab-ci.yml, .flake8, Dockerfile, etc) for a python tool
  • Similar to sync-tool have command-line arguments for configuration file, service account credentials file and dry-run (--really-do-this)
  • Only needs a single --scan-mydrive operation for now
  • Much like sync-tool it needs to:
    • authenticate as service account to directory API (impersonation not needed for just reading/writing user data)
    • pull a list of all suspended users from Google
    • filter these to those with a mydrive-shared-action set to "scan"
    • for now, just dump out this list of users
Edited by Robin Goodall