Python API client for TheHive.
TheHive4py is a Python API client for TheHive, a scalable 3-in-1 open source and free security incident response platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly.
TheHive4py allows analysts to send alerts to TheHive out of different sources. Those alerts can then be previewed and imported into cases using pre-defined templates.
For example, a SOC may ask its constituency to send suspicious email reports to a specific mailbox that a script polls at regular intervals. When a new email is received, the script parses it then calls TheHive4py to create a corresponding alert in TheHive. Once the alert is raised, SOC analysts will get a notification thanks to TheHive’s live stream so they can preview it and import it if deemed worth investigating using a specific template.
Caution - WIP
TheHive4py is considered work in progress. It is considered beta software though we are using it on a regular basis for the use case outlined above. It should be sufficient in most situations where you need to interact with TheHive’s REST API. If not, please feel free to contribute and submit pull requests or request missing features if you are not comfortable with Python.
On macOS and Linux, type:
sudo pip install thehive4py
If you are using Python on a Windows operating system, please forgo the sudo command.
TheHive4py is an open source and free software released under the AGPL (Affero General Public License). We, TheHive Project, are committed to ensure that TheHive4py will remain a free and open source project on the long-run.
We welcome your contributions. Please feel free to fork the code, play with it, make some patches and send us pull requests using issues.
We do have a Code of conduct. Make sure to check it out before contributing.
If you need to contact the project team, send an email to email@example.com.
We have set up a Google forum at https://groups.google.com/a/thehive-project.org/d/forum/users. To request access, you need a Google account. You may create one using a Gmail address or without one.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size thehive4py-1.6.0-py2-none-any.whl (22.2 kB)||File type Wheel||Python version py2||Upload date||Hashes View hashes|
|Filename, size thehive4py-1.6.0-py3-none-any.whl (22.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
Hashes for thehive4py-1.6.0-py2-none-any.whl
Hashes for thehive4py-1.6.0-py3-none-any.whl