How to use the API to control the number of scan threads

On the UI provided by GSAD, I can select the Maximum concurrently executed NVTs per host when creating a task.But when I use the python-gvm to create a task, I found the create_task function has no parameters for this option.

Does anyone know how to solve it? Thx

Hi,I’ve solve this problem,When you use API to create a task,you can control the number of scanning threads through the ‘preferences’ parameter.Example:“preferences”: {“max_checks”: 8}

1 Like