dgiorgio / gvm-docker

Greenbone Vulnerability Management for Docker - based on git source code.
BSD 3-Clause "New" or "Revised" License
39 stars 21 forks source link

Use the official project: https://greenbone.github.io/docs/latest/22.4/container/index.html

[DEPRECATED] Greenbone Vulnerability Management in Docker

https://github.com/dgiorgio/gvm-docker Dashboard

How to use this image

Run with docker-compose
$ cd gvm-docker/docker-compose/stable
$ ./run_compose.sh

or

$ cd gvm-docker/docker-compose/stable
$ docker-compose -p gvm --env-file "../../dockerfile/VERSIONS" -f docker-compose.yml up -d
Run docker-compose with ansible
$ cd ansible-gvm
$ ansible-playbook start_gvm.yml

Password

Get 'admin' password:

$ docker logs gvm_gvm-gvmd_1 2> /dev/null | grep 'password:'

ShowPassword

Reset admin password
$ docker exec -ti gvm_gvm-gvmd_1 gvmd --user=admin --new-password=gvmpass

ChangePassword

Access

Access web browser: https://localhost

Greenbone Feed Updates and system checks

Check the feed logs of the gvmd and openvas containers.

docker logs -f --tail 25 gvm_gvm-gvmd_1
docker logs -f --tail 25 gvm_gvm-openvas-scanner_1

UpdateSCAPDATA

Check the content of the pages through the GSA.

https://localhost/nvts
https://localhost/cves
https://localhost/cpes
https://localhost/portlists
https://localhost/scanconfigs

CheckNVTs

If the pages are empty, or display an error message. You should check the update of the feeds, it may take a long time to install.

Private feed server

You can use a private feed server to optimize updates, more details in the project below.

https://github.com/dgiorgio/gvm-feed-server

License

This Docker image is licensed under the BSD, see LICENSE.