GNU Affero General Public License v3.0

项目介绍

greenbone/ospd-openvas 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 80 个 Star、65 次 Fork。

仓库全名
greenbone/ospd-openvas
开源许可证
GNU Affero General Public License v3.0
Star 数
80
Fork 数
65
未关闭 Issue
1

README 摘要

ospd-openvas ospd-openvas is an OSP server implementation to remotely control OpenVAS Scanner and Notus Scanner. Once running, you need to configure OpenVAS Scanner and Notus Scanner for the Greenbone Vulnerability Manager, for example via the web interface Greenbone Security Assistant. Then you can create scan tasks to use both scanners. Installation Requirements Python 3.11 and later is supported. ospd-openvas has…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ospd-openvas 用什么语言开发?

主要使用 Python 编写,采用 GNU Affero General Public License v3.0 许可证,目前有 80 个 Star。

ospd-openvas 可以免费商用吗?

仓库标注的许可证为 GNU Affero General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 ospd-openvas 的源码?

可以直接克隆仓库:git clone https://github.com/greenbone/ospd-openvas.git,默认分支为 main;安装与运行步骤见仓库 README。

ospd-openvas 最近还在维护吗?

仓库最近一次更新为 4 天前,当前有 1 个未关闭 Issue;Star 数为 80,可作为社区活跃度的参考。

关于

ospd-openvas is an OSP server implementation to allow GVM to remotely control an OpenVAS Scanner

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
225
价值分
68
活跃状态
活跃

语言占比

BitBake
Dockerfile
Go
Makefile
NASL
Python
Shell

Release

README

Greenbone Logo

ospd-openvas

GitHub releases PyPI Build and test

ospd-openvas is an OSP server implementation to remotely control OpenVAS Scanner and Notus Scanner.

Once running, you need to configure OpenVAS Scanner and Notus Scanner for the Greenbone Vulnerability Manager, for example via the web interface Greenbone Security Assistant. Then you can create scan tasks to use both scanners.

Installation

Requirements

Python 3.11 and later is supported.

ospd-openvas has dependencies on the following Python packages:

  • defusedxml
  • deprecated
  • lxml
  • packaging
  • paho-mqtt
  • psutil
  • python-gnupg
  • redis

Mandatory configuration

The ospd-openvas startup parameter --lock-file-dir or the lock_file_dir config parameter of the ospd.conf config file needs to point to the same location / path of the gvmd daemon and the openvas command line tool (Default: <install-prefix>/var/run). Examples for both are shipped within the config sub-folder of this project.

Also in order to be able to use Notus ospd-openvas must connect to a MQTT broker, such as Mosquitto in order to communicate. With the parameter --mqtt-broker-address (Default: localhost) the correct address must be given as well as the corresponding port with --mqtt-broker-port (Default: 1883).

Please see the Details section of the GVM release notes for more details.

Optional configuration

Please note that although you can run openvas (launched from an ospd-openvas process) as a user without elevated privileges, it is recommended that you start openvas as root since a number of Network Vulnerability Tests (NVTs) require root privileges to perform certain operations like packet forgery. If you run openvas as a user without permission to perform these operations, your scan results are likely to be incomplete.

As openvas will be launched from an ospd-openvas process with sudo, the next configuration is required in the sudoers file:

sudo visudo

add this line to allow the user running ospd-openvas, to launch openvas with root permissions

<user> ALL = NOPASSWD: <install prefix>/sbin/openvas

If you set an install prefix, you have to update the path in the sudoers file too:

Defaults        secure_path=<existing paths...>:<install prefix>/sbin

Usage

There are no special usage aspects for this module beyond the generic usage guide.

Please follow the general usage guide for ospd-based scanners:

https://github.com/greenbone/ospd-openvas/blob/main/docs/USAGE-ospd-scanner.md

Support

For any question on the usage of ospd-openvas please use the Greenbone Community Portal. If you found a problem with the software, please create an issue on GitHub. If you are a Greenbone customer you may alternatively or additionally forward your issue to the Greenbone Support Portal.

Maintainer

This project is maintained by Greenbone AG.

Contributing

Your contributions are highly appreciated. Please create a pull request on GitHub. Bigger changes need to be discussed with the development team via the issues section at GitHub first.

For development you should use poetry to keep your 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-openvas (the directory containing the pyproject.toml file) to install all dependencies including the packages only required for development.

The ospd-openvas 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 © 2018-2022 Greenbone AG

Licensed under the GNU Affero General Public License v3.0 or later.

评论

暂无评论