Getting a callback when Scan Completes


So I am trying to use GVM with unix socket, which takes commands through gvm-pyshell. I’ve managed to Create Targets, Schedules, Create and Start Tasks and Get Reports. However, since I want to automate the complete process of scanning and creation of Reports, what is the best way to receive the callback when the scan is completed ? Trying to use the create_alert method to notify in case of task status changed to done, however lack of documentation hinders me from choosing the right method parameter and thus creating a callback.

Thank you in advance.

1 Like