Sorry, wrong error message; that was:

<create_override_response status_text="Internal error" 
status="500"></create_override_response>

tnx

----- Mail original -----
De: [email protected]
À: "matthew mundell" <[email protected]>
Cc: [email protected]
Envoyé: Lundi 26 Septembre 2016 17:15:26
Objet: Re: [Openvas-discuss] Overrides management questions

Well, then I get an "internal error" message...

<omp_response status_text="Bogus element: nvt" status="500"></omp_response>

I tried with your example:

 <create_override>
   <text>This is actually of little concern.</text>
   <nvt oid="1.3.6.1.4.1.25623.1.0.103239"/>
   <new_threat>False Positive</new_threat>
   <task>a06cbabd-0cd4-4604-a58d-f831d9c7ec29</task>
   <result>any</result>
 </create_override>

Please clarify what I am doing wrong, I'm a bit lost with the syntax.

Thanks

----- Mail original -----
De: "mattm" <[email protected]>
À: [email protected]
Cc: "Fábio Fernandes" <[email protected]>, 
[email protected]
Envoyé: Lundi 26 Septembre 2016 14:50:20
Objet: Re: [Openvas-discuss] Overrides management questions

> I did some research and I tried sending the following xml command to omp to 
> create an override:
>
>  <create_override>
>    <text>This is actually of little concern.</text>
>    <nvt>1.3.6.1.4.1.25623.1.0.103239</nvt>

The NVT oid should be an attribute:

     <nvt oid="1.3.6.1.4.1.25623.1.0.103239"/>

See

        http://www.openvas.org/omp-6-0.html#command_create_override

The example is wrong though, I'll update it.

--
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
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to