Skip to main content

Robust Python SDK and CLI for IntelOwl's API

Project description

PyIntelOwl

PyPI version PyPI Supported Python Versions

Pull request automation codecov CodeFactor

Robust Python SDK and Command Line Client for interacting with IntelOwl's API.

Features

  • Easy one-time configuration with self documented help and hints along the way.
  • Request new analysis for observables and files.
    • Select which analyzers you want to run for every analysis you perform.
    • Choose whether you want to HTTP poll for the analysis to finish or not.
  • List all jobs or view one job in a prettified tabular form.
  • List all tags or view one tag in a prettified tabular form.

Demo

pyintelowl asciicast

Installation

$ pip3 install pyintelowl

For development/testing, pip3 install pyintelowl[dev]

Quickstart

As Command Line Client

On successful installation, The pyintelowl entryscript should be directly invokable. For example,

$ pyintelowl
Usage: pyintelowl [OPTIONS] COMMAND [ARGS]...

Options:
  -d, --debug  Set log level to DEBUG
  --version    Show the version and exit.
  -h, --help   Show this message and exit.

Commands:
  analyse                Send new analysis request
  analyzer-healthcheck   Send healthcheck request for an analyzer...
  config                 Set or view config variables
  connector-healthcheck  Send healthcheck request for a connector
  jobs                   Manage Jobs
  tags                   Manage tags

As a library / SDK

from pyintelowl import IntelOwl
obj = IntelOwl("<your_api_key>", "<your_intelowl_instance_url>", "optional<path_to_pem_file>", "optional<proxies>")

For more comprehensive documentation, please see https://intelowlproject.github.io/docs/pyintelowl/.

Changelog

View CHANGELOG.md.

How to generate an API key

You need a valid API key to interact with the IntelOwl server. Keys can be created from the "API access" section of the user's menu in the IntelOwl's GUI.

api_access

Otherwise, you can create them from the Django Admin Interface of the IntelOwl application with an administration account. Section "Durin" -> "Auth tokens"

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

pyintelowl-5.1.0.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

pyintelowl-5.1.0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file pyintelowl-5.1.0.tar.gz.

File metadata

  • Download URL: pyintelowl-5.1.0.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyintelowl-5.1.0.tar.gz
Algorithm Hash digest
SHA256 4b5dd1e39ac54b1bbb3fa5aafc41e322b4058678a49fe6ff095be87e2c071353
MD5 402faf42c46cef271a8376b7281a2896
BLAKE2b-256 b625d5af65a9581e86c026e47c22a1d17676e3b6742071c3e28c9f51717c46a6

See more details on using hashes here.

File details

Details for the file pyintelowl-5.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyintelowl-5.1.0-py3-none-any.whl
  • Upload date:
  • Size: 51.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyintelowl-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 759f685e37974cd69b943d48ee53b52a8a61234a96bb78f6fd5bcc94e0f06919
MD5 a9fc66b62925fc861cb650bae81bef46
BLAKE2b-256 01be1a84743307e43b0fc89b095cffa1953e705f045e235579b92479aed695c5

See more details on using hashes here.

Supported by

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