Giter Club home page Giter Club logo

pyqradar's Introduction

QRadar API wrapper

This is an attempt at creating a complete library for the QRadar API with error checks before the user makes mistakes. The main issue with the normal API is the folder structure used.

QRadar API

QRadar example repository without the library

Installation

Installation is made public in pypi and easy_install.

pip install pyqradar

easy_instal install pyqradar

Usage

The project is a simple wrapper to remove the need for handling via Requests. Below is a test to see if you have admin rights where it checks for system/servers.

>>> import qradar 
>>> qradar = qradar.QRadar('HOSTNAME', 'SECtoken')
>>> qradar.login()
'Admin priviliges available.'

Further documentation will be made available as it gets tested more.

Todo

  • Failure in error handling - KeyError 'message' line 58
  • (DONE) - Make it available in easy_install/pip
  • (DONE) - Make import easier without "from qradar import pyQRadar" (init file)
  • (DONE) - Set default headers, to make it uneccessary in get/post etc.
  • (Started) - Create examples for how to use it.
  • Create multiple error checks, especially for destructive constructs like DELETE and PUT.
  • Return json objects instead of plain data.
  • Further testing of all request types.
  • Have further header information checks.
  • Add logging
  • (DONE) - Add timeouts - Default set to 10
  • Make it work for python 3 - It might actually work already if built from source.
  • Add a changelog for versions

pyqradar's People

Contributors

frikky avatar

Watchers

James Cloos avatar Karthik Balasubramani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.