Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Google-Group-Admin-API
Advanced tools
A Python library for managing Google Cloud Platform groups via Google Workspace Directory API
A Python library for managing Google Cloud Platform (GCP) groups through the Google Workspace Directory API. This tool allows easy and efficient group management within Google Workspace, including adding members to groups, retrieving group information, listing all groups in a domain, and creating new groups.
Clone the repository to your local machine:
git clone https://github.com/martialo12/Google-Group-Admin-API
cd Google-Group-Admin-API
pip install -r requirements.txt
First, set up your Google Workspace configuration:
from google_workspace_group_manager import GoogleWorkspaceConfig, GoogleWorkspaceGroupManager
scopes = ['https://www.googleapis.com/auth/admin.directory.group']
config = GoogleWorkspaceConfig('path_to_service_account.json', scopes)
group_manager = GoogleWorkspaceGroupManager(config)
Adding a member to a group:
group_manager.add_member_to_group('group@example.com', 'member@example.com', 'MEMBER')
Retrieving information about a group:
group_info = group_manager.get_group_info('group@example.com')
Listing all groups in a domain:
groups = group_manager.list_google_workspace_groups('example.com')
Creating a new group:
new_group = group_manager.create_group('newgroup@example.com', 'New Group', 'Description')
Contributions are welcome! Please read our Contributing Guide for more information.
## License This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Python library for managing Google Cloud Platform groups via Google Workspace Directory API
We found that Google-Group-Admin-API demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.