Closed frverni closed 4 months ago
as described here , get_tasks should accept the ignore_pagination parameter. using python modules the parameter is not recognized
https://docs.greenbone.net/API/GMP/gmp-21.4.html#command_get_tasks https://greenbone.github.io/python-gvm/api/gmpv224.html#gvm.protocols.gmpv224.Gmp.get_tasks
it's not possible to specify the value as input to the variable, nor is it possible to specify the page to be obtained.
from gvm.connections import UnixSocketConnection from gvm.protocols.gmp import Gmp from gvm.transforms import EtreeTransform from gvm.xml import pretty_print connection = UnixSocketConnection() transform = EtreeTransform() with Gmp(connection, transform=transform) as gmp: gmp.authenticate(gmp_user, gmp_password) tasks = gmp.get_tasks(ignore_pagination = True)
gmp: 22.4
Expected behavior
as described here , get_tasks should accept the ignore_pagination parameter. using python modules the parameter is not recognized
https://docs.greenbone.net/API/GMP/gmp-21.4.html#command_get_tasks https://greenbone.github.io/python-gvm/api/gmpv224.html#gvm.protocols.gmpv224.Gmp.get_tasks
Current behavior
it's not possible to specify the value as input to the variable, nor is it possible to specify the page to be obtained.
Steps to reproduce
GVM versions
gmp: 22.4