Skip to main content

An OpenVAS Managment Protocol (OMP) v7 client for Python

Project description

Build Status Coverage

An OpenVAS Managment Protocol (OMP) v7+ client for Python.

Installation

To install pyvas, simply run:

$ pip install pyvas

Usage

>>> from pyvas import client
>>> with client(hostname, username='username', password='password') as cli:
>>>     r = cli.list_tasks()
>>>     r.ok
True
>>>     r.data
[{u'@id': '...', ...}, {u'@id': '...', ...}]
>>>     r = cli.get_task(task[0]["@id"])
>>>     r.ok
True
>>>     r.data
{u'@id': '...', ...}

Documentation

Documentation is currently a work in progress, please check back soon.

How to Contribute

  1. Look for open issues or report an issue

  2. Checkout a new branch from master and work away

  3. Remember to include tests

  4. Submit a pull request!

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

pyvas-0.4.0.tar.gz (13.2 kB view hashes)

Uploaded Source

Built Distribution

pyvas-0.4.0-py2.py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 2 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