Thanks to visit codestin.com
Credit goes to github.com

Skip to content

scripts/check-gmp.gmp.py fails with list index out of range #489

@spenneb

Description

@spenneb

Expected behavior

When using scripts/check-gmp.gmp.py in the past it correctly reported the vulnerabilities found by a Greenbone appliance

Current behavior

After updating the greenbone appliance to 21.04.3 the script fails with "list index out of range"

Updating the gvm-tools to the current version using git pull introduced an additional bug:
get_tasks() got an unexpected keyword argument 'filter_string'

When correcting this bug by replacing filter_string with filter the original bug "list index out of range" is thrown again.

Steps to reproduce

  1. Deploy check-gmp.gmp.py successfully with an older version of Greenbone OS
  2. Update to 21.04.3
  3. check-gmp.gmp.py will fail

GVM versions

As included in Greenbone OS 21.04.3

Metadata

Metadata

Assignees

Labels

needs infoNeeds additional information from the reporter

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions