> I belatedly looked at create_report but it seems to be buggy.  The OMP
> documentation example XML isn't the right format (see bug
> report:[openvas-Bugs][6413] opened in 2013).  Does anyone have an example of 
> the
> proper XML block using <create_report>?  Everything I try gives me "Failed to
> read response" error.

I corrected the OMP doc in Manager r23737, which should appear in the next
release of Manager 6.0.  It now looks like:

   <create_report>
         <report id="a0704abb-2120-489f-959f-251c9f4ffebd">
           <name>CPE</name>
           <extension>csv</extension>
           <content_type>text/csv</content_type>
           <summary>Common Product Enumeration CSV table.</summary>
           <description>
                 CPE stands for Common Product Enumeration. It is a
                 ...
           </description>
           <global>1</global>
           <predefined>1</predefined>
           <trust>
                 yes
                 <time>Thu Dec 2 13:22:26 2010</time>
           </trust>
           <active>1</active>
         </report>
         <task>
           <name>Imported reports</name>
         </task>
   </create_report>

If it still happens you should check the Manager logs to see what the error
is.

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to