Skip to main content

OSPD is a base for scanner wrappers which share the same communication protocol: OSP (Open Scanner Protocol)

Project description

Greenbone Logo

OSPD

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

Releases

 All release files are signed with the Greenbone Community Feed integrity key. This gpg key can be downloaded at https://www.greenbone.net/GBCommunitySigningKey.asc 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:

pip install ospd

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

pip install .

How to write your own OSP Scanner Wrapper

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

See the file doc/INSTALL-ospd-scanner.md 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: https://docs.greenbone.net/GSM-Manual/gos-3.1/en/osp.html#how-to-write-your-own-osp-wrapper

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 pipenv to keep you python packages separated in different environments. First install pipenv via pip

pip install --user pipenv

Afterwards run

pipenv install --dev

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

License

Copyright (C) 2009-2019 Greenbone Networks GmbH

Licensed under the GNU General Public License v2.0 or later.

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-2.0.0.tar.gz (60.1 kB view details)

Uploaded Source

Built Distribution

ospd-2.0.0-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file ospd-2.0.0.tar.gz.

File metadata

  • Download URL: ospd-2.0.0.tar.gz
  • Upload date:
  • Size: 60.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for ospd-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1d678bc54b8639d838cd567233e465f0f8d030558160599ecf94539c6fa144d0
MD5 aaa31803d104f84b1657cab95affd918
BLAKE2b-256 2b421831d7666617401198825a70c1555dee3c83da81890ef5ea0dd00ce7f486

See more details on using hashes here.

File details

Details for the file ospd-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ospd-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for ospd-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae1ab62d3bebf607c6874d3283aebbcb91114a81b53b86d47e5212cd9aa1499
MD5 14b84e3bede3283049a0a4c458ff0545
BLAKE2b-256 78d0e50d29857522bd684243a7de2ca380579845eb189ce051acba705f799a06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page