Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jehiah/google_group_settings_audit
A script to query google group settings api
https://github.com/jehiah/google_group_settings_audit
Last synced: 24 days ago
JSON representation
A script to query google group settings api
- Host: GitHub
- URL: https://github.com/jehiah/google_group_settings_audit
- Owner: jehiah
- Created: 2015-01-22T21:58:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T17:28:15.000Z (almost 8 years ago)
- Last Synced: 2024-04-17T15:23:22.864Z (7 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Audit: audit_groups.py
Awesome Lists containing this project
README
# Google Group Settings Audit
This is a script to help audit the settings of groups on a google apps domain
### Steps to Use
1. setup a google api project https://console.developers.google.com/
2. enable the following apis: "Groups Settings API" and "Admin SDK"
3. setup the Oauth2 Callback as `http://localhost:8080/`
4. `pip install python-gflags oauth2client tornado`
5. run `python audit_groups.py --client-id=... --client-secret=... --domain=yourdomain.com`Expected Output:
```xml
[email protected]tag:googleapis.com,2010:apps:groupssettings:GROUP:[email protected]
Groups Resource Entry
admin
[email protected]
team
CAN_REQUEST_TO_JOIN
ALL_IN_DOMAIN_CAN_VIEW
ALL_IN_DOMAIN_CAN_VIEW
ALL_MANAGERS_CAN_INVITE
false
ANYONE_CAN_POST
true
5242880
true
false
MODERATE_NONE
ALLOW
REPLY_TO_IGNORE
false
false
false
false
DEFAULT_FONT
true
ALL_MEMBERS_CAN_LEAVE
ANYONE_CAN_CONTACT****************************************
...[repeating for each group]
```