██████ ██ ████████ ██ ██ █████ ██████ ██████ ███████ ███ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
██████ ██ ██ ██ █ ██ ███████ ██████ ██ ██ █████ ██ ██ ██
██ ██ ██ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ███ ███ ██ ██ ██ ██ ██████ ███████ ██ ████
██ █████ ██████ ███████
██ ██ ██ ██ ██ ██
██ ███████ ██████ ███████
██ ██ ██ ██ ██ ██
███████ ██ ██ ██████ ███████ Automation scripts and tools for Bitwarden administration
Please note these projects in Bitwarden Labs are experimental and not officially supported by Bitwarden as are provided “as is” with no guarantees.
Welcome to Bitwarden Labs, an unofficial space for innovative and experimental tools related to the Bitwarden universe. Here, we explore and develop a variety of projects with the help of our vibrant community.
In Bitwarden Labs, we focus on a diverse range of projects, including but not limited to:
These scripts automate the process of confirming accepted users in your Bitwarden organization. When users accept an invitation to join your organization, an administrator must confirm them before they can access shared items.
The scripts support both Password Manager and Secrets Manager, and can be run via the Bitwarden CLI or directly through the API. Choose the version that best fits your workflow and environment.
These scripts help you retrieve and display all members of your Bitwarden organization. The PowerShell version with 2FA check provides additional security validation by verifying which users have two-factor authentication enabled.
Use these scripts to audit your organization’s membership, monitor user access, or generate reports for compliance purposes.
This script fetches Bitwarden event logs within a specified date range and allows you to display them in a formatted table or export them to a CSV file for further analysis.
Event logs are essential for security auditing, compliance reporting, and investigating suspicious activities in your organization. The script provides flexible filtering and export options to meet your specific needs.
downloadEventLogsToCsv.sh - Bash script to download event logs and export them to CSV format using the Bitwarden Public API
getEventLogsLiveFeed.py - Python script that provides a live feed of event logs, useful for real-time monitoring and analysis
For related event log problems and SQL cleanup solutions, refer to the event-cleanup repository (SQL and Bash scripts to permanently remove Event Log data from the database on self-hosted servers).
This Python script connects to the Bitwarden Public API to automate the cleanup of revoked or inactive organization members. It authenticates using the organization’s API client credentials, retrieves the current list of users, and removes any whose status value is -1 — indicating a revoked account.
Functionality