Matthew you were right ! it works.Openvas looks report_results on startup and 
clean the "loose" results. Now is working puting a register in 
report_results.Thanks a lot !

> To: [email protected]
> CC: [email protected]
> Subject: Re: [Openvas-discuss] libuuid (mistake)
> From: [email protected]
> Date: Fri, 21 Nov 2014 18:33:16 +0100
> 
> Possibly some of the startup checks are removing your results.  Make sure
> the results are associated with a report.  There's a report column in
> results table.  Depending on your version you might also have to add
> entries in the report_results table.
> 
> This is really not intended use for Manager.  The database is internal.  So
> I can't help you more.
> 
> The results should rather come from the Scanner.  Maybe you should make a
> custom NVT that creates your results.  Also, OpenVAS 8 will introduce the
> OSPD concepts, where an entire custom scanner can be created.  Might help
> you.
> 
> > Sorry Matthew, was my rookie mistake. I see now that make_uuid is inside 
> > the openvas code and not in sqlite.
> > But I generated it using uuidgen from Linux (Debian), and put it in a new 
> > result register using external sqlite insert.
> > The problem i have is that when I restart openvas services, openvas clean 
> > the new register manualy created in results table.Do you know if is there 
> > any security check in openvas and how should i do to insert a register in 
> > results table from an external sqlite insert?
> > Best regards !!
> >
> > From: [email protected]
> > To: [email protected]
> > CC: [email protected]
> > Subject: RE: [Openvas-discuss] libuuid
> > Date: Fri, 21 Nov 2014 14:45:45 +0000
> >
> >
> >
> >
> > Matthew, when I run:
> > insert into results (report, host, port, nvt, type, description, uuid) 
> > values (45, "10.10.10.10", "80", "nvt manual - test", "Security Hole", 
> > "Test", make_uuid ());
> > it returns:
> > no such function: make_uuid
> > --- tasks.db & OpenVAS-6 DEMO Virtual Appliance downloaded from openvas.org 
> > ---
> >
> > Any idea?Thanks !!!
> >
> >
> >
> > > To: [email protected]
> > > CC: [email protected]
> > > Subject: Re: [Openvas-discuss] libuuid
> > > From: [email protected]
> > > Date: Fri, 21 Nov 2014 09:34:03 +0100
> > >
> > > > Does anybody know if there is any way to ask OPENVAS for new UUID code 
> > > > to use it in custom object in the DB?
> > >
> > > From Manager code you can run "make_uuid ()" in an SQL statement.
> > >
> > > Or you can just run "uuid" on the command line.
> > >
> > > --
> > > Greenbone Networks GmbH
> > > Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
> > > Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
> >
> > #text/html [] ((charset . iso-8859-1))
> --
> 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