2018-05-04 21:05:49 UTC
I'm having a problem when trying to set a preference while creating a task.
Here is my command:
Host[checkbox]:Mark unrechable Hosts as dead (not
Here is the response I receive:
status_text="OK, resource created" status="201"></create_task_response>
If I look in the database using sqlite3, I can see that the most recent
entry in task_preferences matches my request. However, when I actually
start the task, the scan does not honor my preference, and instead uses the
default value for the config. I know this because I have a particular host
that does not respond to pings, and the scan quits immediately unless this
preference is set to "no".
If I change the config itself, the behaviour is correct - but I'd like to
be able to use the preference override in the create_task command, rather
than having to set up an entirely new config each time I want to change
Is there something I'm understanding incorrectly? Is there a different
value I need to be using in <scanner_name>? Or is it possible there is a
bug that is causing OpenVAS to ignore this preference?
Lithik Systems, Inc.