OpenVAS Tasks

Build Status PyPI version Stories in Ready

This project is made for interacting with OpenVAS tasks in OpenVAS tasks database. It is used for acquiring all the tasks data, history of them, report mappings and results. By default it will use the database on scanner machine and contains ORM mappings mostly (but not all of them). If you want to extend this project we happily accept your PRs. Default installation of OpenVAS tasks database reside in /var/lib/openvas/mgr/tasks.db.

Usage

If you are on scanner machine:

import openvas_tasks
b = openvas_tasks.Pool()
b.tasks_count()

or if you have your own database:

import openvas_tasks
b = openvas_tasks.Pool("/Users/vertexclique/projects/tasks.db")
b.shown_tasks()

API

Fields of Objects

Object fields of results. Currently:

are browsable.

Tasks

Results

Reports

Targets

Configs

Alerts

Slaves

This object is used in master-slave mode. It won't exist if you have single point installation.