Hi Fabio,

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>
   <new_threat>False Positive</new_threat>
   <task>a06cbabd-0cd4-4604-a58d-f831d9c7ec29</task>
   <result>any</result>
 </create_override>

OMP answers with the following:

<create_override_response status_text="CREATE_OVERRIDE requires an NVT entity" 
status="400"></create_override_response>

I have no clue about what "NVT entity" is. I have googled it but found nothing 
related.

I really don't understand why it's so complicated to perform what should be 
such a simple operation... 

Any clue ?

Thanks
 

----- Mail original -----
De: "Fábio Fernandes" <fabiogfernan...@gmail.com>
À: "tatooin" <tato...@free.fr>
Cc: openvas-discuss@wald.intevation.org
Envoyé: Jeudi 15 Septembre 2016 18:52:16
Objet: Re: [Openvas-discuss] Overrides management questions

I have never done that but it should’t be hard check here 
http://www.openvas.org/omp-6-0.html#command_create_override . 


Fabio 





No dia 14/09/2016, às 10:59, tatooin < tato...@free.fr > escreveu: 


Hi Fabio, 

I'm not sure how to actually do this. Could you give an example of such 
command ? 

Thank you ! 

On Tue, 2016-09-06 at 15:12 +0100, Fábio Fernandes wrote: 


That is to enable overrides i was trying to say to add the override 
with amp CLI but it is just an idea. 

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


Fabio 



No dia 06/09/2016, às 13:57, tatooin <tato...@free.fr> escreveu: 

Hi Fabio, 

I tried adding the override with omp (this is actually the only way 
I 
know of), using the command : 

omp -h 127.0.0.1 -u admin -w "pass" -iX '<get_reports 
report_id="5c9870b4-2d15-4b97-91ca-8fd6ee0a1b2b" 
format_id="c1645568-627a-11e3-a660-406186ea4fc5" overrides="1" />' | 
xmlstarlet sel -t -v get_reports_response/report/text\(\) | base64 
-i -d 


report.csv 

But I still don't get the overrides applied. :-( 

Is there any other way ? 

Thanks again for your help. 

On Mon, 2016-09-05 at 20:55 +0100, Fábio Fernandes wrote: 


I don’t think so maybe someone can help? Have you tried to add the 
override with the omp maybe it will work. 


Fabio 



No dia 02/09/2016, às 09:24, tatooin <tato...@free.fr> escreveu: 

piping an xml file directly to omp ? 











_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to