Hello,
I have noticed an issue when creating a task with a schedule ID, when no schedule is passed in the XML.
I run:
scanner._VulnscanManager__manager.create_task(name="scheduled_task",
target="48535fab-92f1-4778-bf2d-ac04a43e698b",
config="daba56c8-73ec-11df-a475-002264764cea",
schedule="2d012ecf-913d-4436-b37c-00470c56a121",
max_hosts=5,
max_checks=4,
comment="a very detailed comment")
I checked the .get_tasks_detail response and I saw that response ID is always "" no matter what i put in "schedule=", config, target id and the rest parameters are passed normally.
I checked with .get_schedules() and the schedule ID exists.
Hello, I have noticed an issue when creating a task with a schedule ID, when no schedule is passed in the XML. I run: scanner._VulnscanManager__manager.create_task(name="scheduled_task", target="48535fab-92f1-4778-bf2d-ac04a43e698b", config="daba56c8-73ec-11df-a475-002264764cea", schedule="2d012ecf-913d-4436-b37c-00470c56a121", max_hosts=5, max_checks=4, comment="a very detailed comment")
I checked the .get_tasks_detail response and I saw that response ID is always "" no matter what i put in "schedule=", config, target id and the rest parameters are passed normally.
Thanks.