Closed wetrywebhook closed 4 years ago
[SOLVED]
Based on https://github.com/greenbone/gvmd/blob/master/src/alert_methods/Send/alert we need to add socat when install the ubuntu package
cat $3 | socat -t 0 - TCP:$1:$2
EXIT_CODE=$?
exit $EXIT_CODE
if you have installed openvas on your device/system, just exec to your container and do: apt-get install update apt-get install socat
In openvas, we possible to send scan report via send to host method. It will send our report to expected IP/address with specified port
this is my alert setting (it's my local docker IP at virtualbox, its ok for example)
but it always get "Failed to run alert" when triggered the alert.
How to reproduce: get any report for example, and trigger this button
and we will get this error message after press the OK button
This is logs from my alert There's no informative logs for this issue, so I have no clue for this bug
Additional context This is some details from my container with master commit 44cc8d9 from https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker