greenbone / ospd

OSPd is a framework for vulnerability scanners which share the same communication protocol: OSP (Open Scanner Protocol)
GNU Affero General Public License v3.0
30 stars 36 forks source link

Fix regex of gvmcg titles for get_performance command #413

Closed ArnoStiefvater closed 3 years ago

ArnoStiefvater commented 3 years ago

What:

Fix regex of gvmcg titles for get_performance command

Why:

To get expected behavior.

How:

gvm-cli --protocol OSP socket --socketpath=/run/ospd/openvas.sock --xml "<get_performance start='0' titles='interface-eth0-err'/>"

You will get status_text="Arguments not allowed" before applied PR. After you will probably get No such file or directory: 'gvmcg': 'gvmcg' but thats fine and expected if you do not have it installed.

Checklist: