forked from christianherro/google-drive-audit-shared
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update script to do more of a full audit
- Loading branch information
Tim Stallmann
committed
Aug 26, 2022
1 parent
11d9b45
commit 94c890f
Showing
3 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ client_secret.json | |
client_id.json | ||
storage.json | ||
env/ | ||
*.csv | ||
venv/ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
google-drive-list-shared | ||
======================== | ||
|
||
Supporting files for blog post: [Find All Shared Files in Google Drive with a Python Script](https://thornelabs.net/posts/find-all-shared-files-in-google-drive-with-a-python-script/). | ||
This tool crawls through all the drive files you have access to and outputs a CSV auditing the permissions of each one. | ||
|
||
Based on https://github.com/jameswthorne/google-drive-list-shared | ||
|
||
To use: | ||
1. Read through the blog post at [Find All Shared Files in Google Drive with a Python Script](https://thornelabs.net/posts/find-all-shared-files-in-google-drive-with-a-python-script/) | ||
2. Set up a google API project and credentials as described in the blog post, download credentials to `client_id.json` in this directory. | ||
3. If desired, set `email_address_to_audit` in the python file to something other than FALSE. This is mainly a convenience, it will add a new column to the CSV for true/false if that particular address has access to the file. | ||
4. Run script. You will see a new CSV file in this directory with the results. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters