Hi all,

first -  thanks for this great product! You're doing an excellent job.

I'm facing a quite confusing problem. Trying to modify serveral existing tasks 
using script whichs calls:
' omp -h host  --pretty-print -p 9390 -u user --password=pwd -X - < /tmp/foo'
, where foo is an generated file containing syntax like 
' <modify_task task_id="task_id"><observers>new_name</observers></modify_task>' 

I receive a result in verbose mode which tells me that there are no errors but 
"parameters are missing"? 

See:
[...]
lib   xml-Message: <= <authenticate_response status="200" 
status_text="OK"><role>Admin</role><timezone>UTC</timezone></authenticate_response>

Sending to manager: <modify_task 
task_id="..."><observers>new_name</observers></modify_task>

(omp:18928): lib  serv-DEBUG:    send 104 from <modify_task 
task_id="33de41d3[...]
(omp:18928): lib  serv-DEBUG: => <modify_task 
task_id="..."><observers>new_name</observers></modify_task>

(omp:18928): lib  serv-DEBUG: => done
lib   xml-Message:    asking for 1048576

lib   xml-Message: <= <modify_task_response status="400" status_text="Too few 
parameters"/>

Got response:
    <modify_task_response status="400" status_text="Too few 
parameters"></modify_task_response>
 [...]

Using omp-documentation i ask myself which parameter(s) i might have forgotten 
if  documentation requires  no more parameters than I pass through.

Thanks in advance,
        Norman


Actually using :
OMP Command Line Interface 1.2+beta2
OpenVAS Scanner 3.4+beta2
OpenVAS Manager 4.0+beta5
OpenVAS Administrator 1.3+beta1
Greenbone Security Assistant 4.0+beta5

Command-reference:
        @task_id (uuid) ID of task to modify.
-->     One of
        ...
        <observers> Users allowed to observe this task.
        ...
Response
        @status (status)
        @status_text (text)







_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to