You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Stop and clean finished/running openvas process before resumming a scan
If Ospd-Openvas crashes during a scan, probably the scan will continue
running in background, leaving the kb in redis occupied.
After ospd-openvas is initialized, the task can be resumed.
In this case, the scan id of the task will be the same one as before,
and there will be two kbs for the old and the new tasks with the same scanid.
This patch ensure that there is no kb in redis in used with the same scan id,
and also it will stop the scan in case it is still running.
This first commit add a function to check for kbs with the given scan id.
0 commit comments