I’m trying to play with gvm-cli to parse XML output in scripting. With omp XML output contained newline after each parameter. With gvm-cli, there is no more newlines. XML output is bulk XML, which makes it harder for parsing.
I was wondering of any tool available to ease xml parsing. Any suggestions welcome !
Well the issue is you have to know python… which I don’t
Currently my bash scripts does what I need, so it’s fine. I just need to make it work with gvm. The main problem I have is that with omp you could retrieve informations directly (such as tasks), while with gvm you have to send XML instructions. And XML is kind of cryptic to me.
Thank you guys for your replies. Thanks to your inputs I was able to do what I was looking for. So now I’m able to get my reports in csv using gvm-cli. I’m still struggling with some data consistencies issues between openvas8/openvas9 that will be another post.