This project contains the tools to deploy Greenbone Vulnerability Management with containers. It is based on the Greenbone Source Edition (GSE) open source project.
The project builds the following docker images:
- Greenbone Vulnerability Manager version 9.0.1 built based on admirito's GVM PPA.
- PostgreSQL 12 Database with
libgvm-pg-server
built based on admirito's GVM PPA - Greenbone Security Assistant version 9.0 built from https://github.com/greenbone/gvm-libs.git.
- OpenVAS scanner version 7.0 built from https://github.com/greenbone/openvas.git.
Currently we support deployment with docker-compose
.
To run the GVM containers with a GMP client for API access to gvmd
:
docker-compose -f docker-compose.yml up
Then, you'll be able to access the GSAD on http://localhost:8080.
To run NVT data sync:
docker-compose -f docker-compose.yml -f nvt-sync.yml up
To run SCAP data sync:
docker-compose -f docker-compose.yml -f nvt-sync.yml up
To run CERT data sync:
docker-compose -f docker-compose.yml -f nvt-sync.yml up
To add a remote OpenVAS scanner:
- Generate certificates for the new scanner:
docker-compose -f docker-compose.yml -f scanner-certs.yml up
- Create the scanner container:
docker-compose -f docker-compose.yml -f add-scanner.yml up
- Add the scanner to GVM:
$ docker exec -it gvm-deployment_gvmd_1 ./add-scanner.sh
Scanner Name: openvas-1
Scanner Host: openvas-1
Scanner Port [9390]:
Scanner Type [OpenVAS]:
Scanner CA certificate [/usr/var/lib/gvm/cacert.pem]:
Scanner public key [/usr/var/lib/gvm/cert.pem]:
Scanner private key [/usr/var/lib/gvm/key.pem]:
Adding scanner openvas-1...
md main:MESSAGE:2020-10-09 16h15.55 utc:1349: Greenbone Vulnerability Manager version 9.0.1 (DB revision 221)
md manage: INFO:2020-10-09 16h15.55 utc:1349: Creating scanner.
md manage:WARNING:2020-10-09 16h15.55 utc:1349: database must be initialised from scanner
util gpgme:MESSAGE:2020-10-09 16h16.01 utc:1349: Setting GnuPG dir to '/var/lib/gvm/gvmd/gnupg'
util gpgme:MESSAGE:2020-10-09 16h16.01 utc:1349: Using OpenPGP engine version '2.2.19'
Scanner created.
A helm chart for deploying the docker images on kubernetes is also available. For more information please read the chart/README.