Skip to main content

OSPD is a base for scanner wrappers which share the same

Reason this release was yanked:

The distributable wheel is broken because of a multiline string in the project description.

Project description

communication protocol: OSP (Open Scanner Protocol) Home-page: License: AGPL-3.0-or-later Keywords: Greenbone Vulnerability Management,Vulnerability Scanner,Open Scanner Protocol,OSP Author: Greenbone Networks GmbH Author-email: Requires-Python: >=3.5,<4.0 Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers Classifier: Intended Audience :: System Administrators Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Requires-Dist: defusedxml (>=0.6.0,<0.7.0) Requires-Dist: deprecated (>=1.2.10,<2.0.0) Requires-Dist: lxml (>=4.5.1,<5.0.0) Requires-Dist: paramiko (>=2.7.1,<3.0.0) Requires-Dist: psutil (>=5.7.0,<6.0.0) Project-URL: Repository, Description-Content-Type: text/markdown

![Greenbone Logo](

# ospd <!– omit in toc –>

[![GitHub releases](]( [![PyPI](]( [![Scrutinizer Code Quality](]( [![code test coverage](]( [![CircleCI](](

ospd is a base class for scanner wrappers which share the same communication protocol: OSP (Open Scanner Protocol). OSP creates a unified interface for different security scanners and makes their control flow and scan results consistently available under the central Greenbone Vulnerability Manager service.

OSP is similar in many ways to GMP (Greenbone Management Protocol): XML-based, stateless and non-permanent connection.

The design supports wrapping arbitrary scanners with same protocol OSP, sharing the core daemon options while adding scanner specific parameters and options.

## Table of Contents

  • [Table of Contents](#table-of-contents)

  • [Releases](#releases)

  • [Installation](#installation) - [Requirements](#requirements) - [Install using pip](#install-using-pip)

  • [How to write your own OSP Scanner Wrapper](#how-to-write-your-own-osp-scanner-wrapper)

  • [Support](#support)

  • [Maintainer](#maintainer)

  • [Contributing](#contributing)

  • [License](#license)

## Releases  All [release files]( are signed with the [Greenbone Community Feed integrity key]( This gpg key can be downloaded at and the fingerprint is 8AE4 BE42 9B60 A59B 311C 2E73 9823 FAA6 0ED1 E580.

## Installation

### Requirements

ospd requires Python >= 3.5 along with the following libraries:

  • python3-paramiko

  • python3-lxml

  • python3-defusedxml

### Install using pip

You can install ospd from the Python Package Index using [pip](

python3 -m pip install ospd

Alternatively download or clone this repository and install the latest development version:

python3 -m pip install .

## How to write your own OSP Scanner Wrapper

As a core you need to derive from the class OSPDaemon from See the documentation there for the single steps to establish the full wrapper.

See the file [doc/](doc/ about how to register a OSP scanner at the Greenbone Vulnerability Manager which will automatically establish a full GUI integration for the Greenbone Security Assistant (GSA).

There are some online resources about this topic: <>

## Support

For any question on the usage of OSPD please use the [Greenbone Community Portal]( If you found a problem with the software, please [create an issue]( on GitHub.

## Maintainer

This project is maintained by [Greenbone Networks GmbH](

## Contributing

Your contributions are highly appreciated. Please [create a pull request]( on GitHub. For bigger changes, please discuss it first in the [issues](

For development you should use [poetry]( to keep you python packages separated in different environments. First install poetry via pip

python3 -m pip install –user poetry

Afterwards run

poetry install

in the checkout directory of ospd (the directory containing the pyproject.toml file) to install all dependencies including the packages only required for development.

The ospd repository uses [autohooks]( to apply linting and auto formatting via git hooks. Please ensure the git hooks are active.

poetry install poetry run autohooks activate –force

## License

Copyright (C) 2009-2020 [Greenbone Networks GmbH](

Licensed under the [GNU Affero General Public License v3.0 or later](COPYING).

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

ospd-20.8.0.tar.gz (93.6 kB view hashes)

Uploaded Source

Built Distribution

ospd-20.8.0-py3-none-any.whl (72.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