docker-compose fails becase of missing avhost/docker-openvas image
docker-compose up fails because of a missing dependency.
Steps to reproduce the behavior:
-
git clone https://github.com/archerysec/archerysec.git -
docker-compose up -d
`Error response from daemon: pull access denied for avhost/docker-openvas, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Checking https://hub.docker.com/r/avhost/docker-openvas/ returns 404
got same issue
I tried to track down the original repo to build from the Dockerfile and built it myself, but didn't have any luck.
I tried this repo and it appears to be actively maintained and a drop in replacement: https://hub.docker.com/r/immauss/openvas
Still doing testing. Use at your own risk.
@mjtechguy have you successfully conntected this docker image as connector?
I tried the following config:
openvas:
image: immauss/openvas
environment:
- "PASSWORD=admin"
- "USERNAME=admin"
- "GMP=9390" # to enable see docs
- "HTTPS=false" # wether to use HTTPS or not
ports:
- "9390:9390"
- "9392:9392"
expose:
- "9390"
- "9392"
links:
- archerysec
container_name: openvas
Also tested with "HTTPS=true" but no luck at all. Connector always stays at not connected.
Hi,
We are currently stuck at the same stage as @schniggie .
Did anyone ever get this working?
same issuse! Anyone help me please?
Still not fixed yet
I've jumped in to the archerysec container and done some troubleshooting in order to try to get immauss/openvas working. It looks like it's due to openvas_lib not supporting OpenVAS >v9.
(venv) root@85a7606a9562:/home/archerysec/app/scanners/scanner_plugin/network_scanner# python3 test.py
Error:
Invalid OpenVAS version in remote server.
So I see two options:
- Try to put together a patch for openvas_lib to support newer version of OMP (now known as GMP), such as v22.4 that immauss/openvas uses (as it's using the latest release of OpenVAS). Or,
- Move to the offical python-gvm.
Using python-gvm might cause backwards-compatibility issues, but it's more likely to see these newer version of OpenVAS than version 6/7/8/9.
I managed to get this partially working with this image: mikesplain/openvas
image: mikesplain/openvas
ports:
- "443:443"
- "9390:9390"
- "9392:9392"
expose:
- "9390"
- "9392"
- "443"
volumes:
- "./openvas_data:/var/lib/openvas/mgr/"
links:
- archerysec
container_name: openvas