Skip to main content

Python API client for TheHive.

Project description

TheHive4py

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 create cases out of different sources such as email. 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 case in TheHive. Once the case has been created, SOC analysts will get a notification thanks to TheHive’s Flow so they can start investigating the new case.

Caution - WIP

TheHive4py is a work in progress. It is considered beta software though we are using it on a regular basis for the use case outlined above. The client doesn’t leverage yet the richness of TheHive’s REST API (which is partially documented) but it should be sufficient in most situations. If not, please feel free to contribute and submit pull requests or request missing features if you are not comfortable with Python.

Use It

On macOS and Linux, type:

sudo pip install thehive4py

If you are using Python on a Windows operating system, please forgo the sudo command.

License

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.

Updates

Information, news and updates are regularly posted on TheHive Project Twitter account and on the blog.

Contributing

We welcome your contributions. Please feel free to fork the code, play with it, make some patches and send us pull requests.

Support

Please open an issue on GitHub if you’d like to report a bug or request a feature.

If you need to contact the project team, send an email to support@thehive-project.org.

Community Discussions

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.

Website

https://thehive-project.org/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thehive4py-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thehive4py-1.0.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file thehive4py-1.0.0.tar.gz.

File metadata

  • Download URL: thehive4py-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thehive4py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4fccffe628c8125ba185717bba52f985aacfb70ee3f100ee46350e6149d4398b
MD5 bdcb829a4432675ad2e3a6022b525851
BLAKE2b-256 a466c00ee0c49aaf621b85911530db15662012bbd22f6eac1968743699880493

See more details on using hashes here.

File details

Details for the file thehive4py-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for thehive4py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 742ffd689c2f7f6b23c7c5b6e0205a1073a73a7ff3b8ef466d9ca864d7d4b519
MD5 df0c2bf5cf2e732c7728278d8d46cb37
BLAKE2b-256 fcf0856d08c7a1d4416da1ca717cff68f46bb889435e4f168eee26e32b0d2519

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page