> I wonder if there's a way that I can get current scan id(or any other
> unique field for a scan) from the plugin? I assumed so because when we
> report something like security holes or warnings, the message will go into
> current scan's report. If not, where do those messages go? It's okey if I
> need to write some C functions to incorporate into OpenVAS, but I searched
> for sometime and couldn't find anything useful. Thanks.

The messages go from the Scanner to the Manager.  The Manager stores the
messages as reports, and assigns unique IDs to the reports.  These IDs are
a Manager side concept though, the Scanner has no knowledge of them.

I guess you could make a plugin that puts an ID in the KB early in the
scan.  Then other plugins could use that.  Depends what you need a unique
field for, though.

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

Reply via email to