I’m trying to perform a very simple task with gvm-cli and I’m getting mad. I have my openvas-9 up and running, with reports available. With GSA, I get all my vulnerabilities as expected. Now, I want to retrieve my report using gvm cli. That is:
A report in CSV format
All vulnerabilities of type lvm included
I would expect something simple like this to work:
But it doesn’t. The csv file is contains many of my task vulnerabilities but not all. In this particular example I’m getting 8 High vulnerabilities and 42 medium, while in GSA the same report give me 43 High and 218 Medium !!!
I’ve added a further advice in the other topic you have posted the question already. Please avoid duplicated posts next time. It’s completely fine to create a new topic if your new question doesn’t relate the last topic.
To get you some background openvasmd/gvmd applies some default filter terms for every query if they are not provided in the request. This has some historical reasons and should also avoid shooting in you foot (like requesting thousands of results). Therefore you have to check if the applied filter is the same in gsa and your request. The applied filter is always contained in the response xml.