In order to make the log4j test work, the machine that is being tested need to communicate back with openvas in the ospd container on its hostname in a random port.
Since this container is not exposing any port this will not work.
To make this work I made some changes. I set the network for container ospd to host and set the hostname for machine IP. I changed the command to change the --mqtt-broker-address for machine IP as well. Besides I exposed the mqtt container port to be reachable from ospd
In order to make the log4j test work, the machine that is being tested need to communicate back with openvas in the ospd container on its hostname in a random port.
Since this container is not exposing any port this will not work.
To make this work I made some changes. I set the network for container ospd to host and set the hostname for machine IP. I changed the command to change the --mqtt-broker-address for machine IP as well. Besides I exposed the mqtt container port to be reachable from ospd
Is there anything else that I might missed? Is it possible to have this working out of box? Maybe a range of ports exposed?