Skip to content

Tool to collect permission information about your Google Drive written on python3

License

Notifications You must be signed in to change notification settings

Volfar/gwatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

title

GWatcher will harvest all files on your Google Drive with their permissions in convenient csv format so you would be able easy to check WHO has access to WHAT.

Prerequisites

To be able to run this tool you need to do following steps:

  1. Go to APIs Console and make your own project. You will see notification that your project has been created. Click there and you will be moved to your project main dashboard.
  2. Search for ‘Google Drive API’, select the entry, and click ‘Enable’.
  3. Select ‘Credentials’ from the left menu, click ‘Create Credentials’, select ‘OAuth client ID’.
  4. Now, the product name and consent screen need to be set -> click ‘Configure consent screen’ and follow the instructions. Once finished:
    • Select ‘Application type’ to be Other.
    • Enter an appropriate name.
    • Click ‘Save’.
    • Click ‘Download JSON’ on the right side of Client ID to download client_secret_.json.

The downloaded file has all authentication information. Rename the file to “client_secrets.json” and place it in GWatcher directory.

  1. Install needed dependencies with pip

pip install -r requirements.txt

For best experience I recommend to use virtualenv.
virtualenv -p python3 env
source env/bin/activate
And then install dependencies with command in number 5.

Usage

Simply run tool and you will be prompted to enter your Google credentials and requested access to Google Drive

python3 gwatcher.py

Report Example

alt text

About

Tool to collect permission information about your Google Drive written on python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages