Bugs item #6413, was opened at 17.01.2013 11:18 by Yannic Labonte
You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6413&group_id=29

Status: Open
Priority: 3
Submitted By: Yannic Labonte (ylabonte)
Assigned to: Nobody (None)
Summary: create_report doesn't work as expected 
Architecture: 64 Bit
Product: OpenVAS
Operating System: Linux
Component: openvas-manager
Version: None
Severity: None
Resolution: None
Hardware: None
URL: 


Initial Comment:
openvas-manager v3.0.5

There are multiple problems creating a report via the OMP. First one is a 
simple mismatch with documentation. The example there shows the report wrapped 
into the <get_reports_response> tag (as in file 'report_complete.xml'), which 
causes the OMP to respond with 'Bogus element: get_reports_response'.

The other and more critical problem arises when removing the 
<get_reports_response> wrapper (as in file 
'report_without_get_reports_response.xml'). This time the response tells 'Bogus 
element: family'. Removing the <family> tag of each report result (as in file 
'report_without_family_tags.xml') "solves" this problem, so that the report 
creation succeeds. When exporting the created report as XML, it contains the 
<family> tags again. Therefore it seems that there is no loss of data, when 
removing the family tags. But I think that it is not intended to modify each 
report in this way, before it can be imported using the create_report command.

Greetz
Yannic

----------------------------------------------------------------------

You can respond by visiting: 
https://wald.intevation.org/tracker/?func=detail&atid=220&aid=6413&group_id=29
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to