Hi all,
I am using python-gvm in order to create my targets via script.
Until now I used code:
alive = gvm.protocols.gmpv208.AliveTest(‘Consider Alive’)
comment = f"Created: {time.strftime(‘%Y/%m/%d-%H:%M:%S’)}"
response = gmp.create_target(name=host_name, comment=comment, hosts=host_ip, port_range=ports, alive_test=alive)
But now, in a fresh installation of GVM, I get error:
module ‘gvm.protocols’ has no attribute ‘gmpv208’
I also tried “gmpv224” and “gmpv225” and these attributes could not be found either.
Could you please help me on which attribute to use?
Thank you,
Ioannis