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

Uploaded Source

Built Distribution

ospd-2.0.1-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ospd-2.0.1.tar.gz
  • Upload date:
  • Size: 66.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for ospd-2.0.1.tar.gz
Algorithm Hash digest
SHA256 024493dfee8a8b714958786444c956674628f4b2968cd0da1d11bf2fb65a55d7
MD5 cd478457d972cfd6f0331dcb2ec15c9f
BLAKE2b-256 292e11d6bab6c2c6d0a4b0ec22d5a7178ae3179ec692c625068132d401c9769b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: ospd-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for ospd-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75bc6fe86fffbd925c551eb7485013ee0359dc8a90bc0d3b00b9e49e09fb8f94
MD5 82a6654722fb198b25b72cfb616c3893
BLAKE2b-256 478a048ebebc88ade5754b8828e3425509e59d2ef17c5b76cce342b8bcf39c3a

See more details on using hashes here.

Provenance

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