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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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