From fcd60a86177f585ba3f8406ae0aac14a6deb0dcb Mon Sep 17 00:00:00 2001 From: Manuel Sommer Date: Fri, 15 Nov 2024 08:40:53 +0100 Subject: [PATCH] :tada: advance docs to use python-gvm --- src/22.4/container/index.md | 2 +- src/_static/docker-compose-22.4.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/22.4/container/index.md b/src/22.4/container/index.md index 45ee8fa8..fb56725f 100644 --- a/src/22.4/container/index.md +++ b/src/22.4/container/index.md @@ -45,7 +45,7 @@ and their services in detail. |-----------|---------|-------------| | redis-server | [Redis Server](https://redis.io/) | A redis server with an adjusted config. Used to store VT data and scan results by the scanner. | | pg-gvm | [postgresql](https://www.postgresql.org/) | A PostgreSQL database cluster setup for use with {term}`gvmd`. The actual data is stored in the `psql_data_vol` volume. | -| gvmd | gvmd | A container for {term}`gvmd` that uses unix sockets in volumes to communicate with the PostgreSQL database and ospd-openvas scanner. The downloaded feed data is stored in the `gvmd_data_vol` volume. To verify the feed data, the GPG keyring from the `gpg_data_vol` is used. | +| gvmd | gvmd | A container for {term}`gvmd` that uses unix sockets in volumes to communicate with the PostgreSQL database and ospd-openvas scanner. The downloaded feed data is stored in the `gvmd_data_vol` volume. To verify the feed data, the GPG keyring from the `gpg_data_vol` is used.
You can enable port 9390 and use [python-gvm](https://pypi.org/project/python-gvm/) to control Greenbone Community Edition installations and Greenbone Enterprise Appliances remotely.| | gsa | gsad | A container running the {term}`gsad` web server for providing the web application {term}`GSA`. The web interface is available at localhost on port 9392. For communication with gvmd, a unix socket in a volume is used. | | ospd-openvas | ospd-openvas | A container providing the vulnerability scanner. The VT data from the feed is stored in the `vt_data_vol` volume. To verify the feed data, the GPG keyring from the `gpg_data_vol` is used. The connection to the redis server is established via a unix socket in a volume. | | gvm-tools | | A container providing the [gvm-tools](https://github.com/greenbone/gvm-tools/) CLI to query and control gvmd and ospd-openvas. | diff --git a/src/_static/docker-compose-22.4.yml b/src/_static/docker-compose-22.4.yml index 5940b854..faf343b1 100644 --- a/src/_static/docker-compose-22.4.yml +++ b/src/_static/docker-compose-22.4.yml @@ -61,6 +61,19 @@ services: gvmd: image: registry.community.greenbone.net/community/gvmd:stable restart: on-failure + # enable port 9390 and use the official python python-gvm library to control Greenbone Community Edition installations and Greenbone Enterprise Appliances remotely + # environment: + # USER: admin + # PASSWORD: admin + # GVMD_ARGS: --port=9390 --listen=0.0.0.0 + # ports: + # - 9390:9390 + # command: > + # /bin/bash -c " + # gvm-manage-certs -V || + # gvm-manage-certs -a -C; + # /usr/local/bin/start-gvmd + # " volumes: - gvmd_data_vol:/var/lib/gvm - scap_data_vol:/var/lib/gvm/scap-data/