A Python script for Stack Overflow Enterprise that creates a CSV report of configured webhooks. You can see an example of the output in the Examples directory.
All data obtained via this script is handled locally on the device from which the script is run. The script does not transmit data to other parties, such as Stack Overflow. This script is entirely read-only, and you cannot change/add content to your Stack Overflow instance.
If you encounter problems using the script, please open a support issue with Stack Overflow. You are also welcome to clone and change the script to suit your needs. It is provided as-is, with no warranty or guarantee of any kind.
- Stack Overflow Enterprise and a user account with admin permissions
- Python 3.x (download)
- Operating system: Linux, MacOS, or Windows
- Chrome browser
Download and unpack the contents of this repository
To install the required open-source libraries for Python:
- Open a terminal window (or, for Windows, a command prompt)
- Navigate to the directory where you unpacked the files
- Install the dependencies:
pip3 install -r requirements.txt
In a terminal window, navigate to the directory where you unpacked the script. Run the script using the following format, replacing the URL with your own:
python3 soe_webhooks.py --url "https://SUBDOMAIN.stackenterprise.co"
At the beginning of the script, a small Chrome window will appear, prompting you to log in to your instance of Stack Overflow Enterprise. After logging in, the Chrome window will disappear, and the script will proceed in the terminal window.
The script typically takes less than a minute to run. As it runs, it will continue to update the terminal window with the status. When the script completes, it will indicate that the CSV has been exported, along with the file's name. You can see an example of the output in the Examples directory.