Any gophers out there? I’m working on a full implementation for GMP protocol here:
I had to create an automation with OpenVAS and decided to take the time to put it together - it already supports all GMP commands but there will be some renaming for sure, still actively working on it.
If you have any ideas or feedback please let me know!
Hey there, took a look at it. I have no current usecases for it but it is a nicely written API. One of the major challenges that we have interfacing with GMP is pagination. It might be nice to build some tooling around pagination. One solution is to do something like the SQL library in Go.
Another option is to create a function that can wrap any paginated APIs and automatically do the pagination for you, returning a sort of “generator” like Python.
Also the filtering seems to be pretty low level, might be nice to come up with a pattern the works well.
I agree that pagination/filter are not there yet. I think that’s the way for pagination with some kind of .ListAutoPaging() then iterating on Next()… for filters as well, probably some method chaining