Skip to main content

An object-based approach to the QRadar Client API

Project description

qradar-api

This package contains an object oriented approach to the QRadar API. The idea is to keep the logic simple, structure and allow for an easy way to integrate with the QRadar API.

This package was inspired by: https://github.com/ryukisec/qradar4py who already put in some ground work when it came to an object oriented approach. This package goes further and adds models for the different object you can retrieve and post.

It is a work in progress though :)

Structure

the package contains

  • Endpoints
    • Inherit from base class QRadarAPIClient
    • Use decorators to define which headers and parameters are allowed for each endpoint
    • located in src\qradar\api\endpoints
  • Models
    • Inherit from base class QRadarModel, which provides them with a custom __repr__ and from_json() factory
    • Located in src\qradar\models

Installation

sudo pip3 install qradar-api

How to use


Roadmap

  • Set up decent packaging :package:
  • Fix typing for ease-of-use
  • Implement all models & GET endpoints :rocket:
  • Implement all post endpoints :pencil:
  • Convince IBM to contribute when creating a new API version :pray:
  • Write a nice set of unit tests :clown_face:

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

qradar-api-0.0.6.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

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

qradar_api-0.0.6-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file qradar-api-0.0.6.tar.gz.

File metadata

  • Download URL: qradar-api-0.0.6.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for qradar-api-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9a676cf201378241b91a97e104c267450460e002801856242eab1e9c81f84b1d
MD5 388c6b9979fc066fe58d536e7c069ad3
BLAKE2b-256 e9bdf8b1835f88ed04efcacb50f3494664d173228b7c6df2c1a28929add279d2

See more details on using hashes here.

File details

Details for the file qradar_api-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: qradar_api-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for qradar_api-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 aa806d9cc1cdcb55bd294387d9b4b42faa7a20a7563d5e5f2e5d8edd761f6cb1
MD5 162361ebdf07fa830edd6a981974067a
BLAKE2b-256 47c3fb68410a53619734742808179009647398694546c4fb12785a3d1d40231a

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