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 vt single id error #398

Closed yywing closed 3 years ago

yywing commented 3 years ago

What:

I found xml defination are differrnt from example. ANd I read openvas code found it shoule be id.

Why:

How:

Checklist:

jjnicola commented 3 years ago

Hi! thanks for the fix. You are right, the expected param name is id

<vt_selection>
    <vt_single id='1.3.6.1.4.1.25623.1.0.90022'/>
  </vt_selection>