I’m somewhat new to GMP and openVAS at all and try to get al list of assets of type “host” which were not yet scanned. To me it looks like these hosts do have a severity of “N/A” and I tried to define a filter to extract just these hosts. Next task would be to get a list of these hosts by using gvm-cli.
I wasn’t able to find a filter expression using the Greenbone Security Assistant nor a solution using gvm-cli.
I’m using this command line to get an - unfiltered - list of assets:
Sorry for my late response. I managed to get my filter working… Thanks for your hint
The proper filter expression for the Greenbone Security Assistant is severity=""
The command line looks like this: gvm-cli -c /home/administrator/.config/gvm-tools.conf socket --xml “<get_assets type=“host” ignore_pagination=“true” filter='severity=”"’/>" --pretty
Be aware: the outer quotes of filter=… are single quotes, the inner ones are double quotes.
Pretty simple - if you know
Thanks for help
Juergen