Skip to content

python-gvm 24.6.0

Compare
Choose a tag to compare
@greenbonebot greenbonebot released this 18 Jun 15:06
· 30 commits to main since this release

24.6.0 - 2024-06-18

24.6 contains a major internal refactoring and drops support for GMP < 22.4.

Added

  • Allow to use ignore_pagination for get_tasks 2bc27a2b
  • Add scan config handling for the new protocol implementation 861482fd
  • Introduce a new type for representing an Entity ID ce16191a
  • Add system report, trash can and user setting requests 068594e7
  • Implement Help command 258ca350
  • Implement Feed command 399cebd1
  • Implement Aggregates command 51081ce4
  • Add tests for current requests implementations 5dae6d3c
  • Add basic test for own internal Enum class 70cef3bf
  • Add get_protocol_version static methods for backwards compatibility 1291040e
  • Finalize GMP Connection class and add a test case 66362ed7
  • Add docstrings and tests for Response class d5fb0cda
  • Tests for protocol states and xml reader 88a0c52a
  • Draft new implementation for GMP protocol classes base on the core module d00f702b
  • Add a new GvmProtocol class that will replace the one in gvm.base a65c0465
  • Add types for paramiko 7f21ebbd
  • Add first draft of a core GMP protocol implementation d9f79bdc
  • Allow to create gvm Enums from all kind of objects 20bb19c7
  • Add a decorator for marking code as deprecated 3506fb03
  • Fix type hints for to_bool utils function f352cfdc
  • Specify the API for gvm.xml by defining an all object fdedd601
  • Add an add_filter method to XmlCommand 5d385911
  • Allow to convert an XmlCommandElement into bytes 6475ff76
  • Add a specific exception for XML related errors c35257b0
  • Add a new function to parse XML data into an Element tree 5e05c98c
  • Add lxml-stubs as dev dependency for code completion 38ccca40

Removed

  • Don't export enums from gvm.protocols latest and next modules 6fdbf2b0
  • Replace validate_xml_string with parse_xml 69b33eac
  • Drop usage of defusedxml bb57e354
  • Remove unnecessary print statement in check_command_status utils function 97c9f80b

Changed

  • Allow to auto-generate password and ssh-key for credentials 029aa88d
  • Improve to_comma_list function signature 8b00e035
  • Allow to pass a UUID instance as id for various methods af01bfba
  • Support passing UUIDs for GMP protocol requests 36db6f81
  • Allow passing an UUID to XmlCommand.add_filter as filter_id 6fb277c4
  • Return a string from to_base64 function 8244497a
  • Fix constructor signature of InvalidArgumentType exception 5d36c798
  • Refactor module layout f1876435
  • Rework and improve GvmConnection classes 94e39986
  • Use valid PEP 8 function names c0e7d887
  • Update type hint for GvmError class 3f3652ac
  • Update error message if Enum can't be created a3094552
  • Mark add_filter utils functions as deprecated 6e4a4754
  • Update check_command_status utils function to use parse_xml d9438d22
  • Improve type hints for XmlCommand and XmlCommandElement fb562e31

Bug Fixes

  • Fix type of lxml Element 3bc26a88
  • Fix type hints for pretty_print function 14e9bf27

Dependencies

  • Bump urllib3 from 2.2.1 to 2.2.2 2349792d
  • Bump ruff from 0.4.8 to 0.4.9 in the python-packages group a1651dd8
  • Bump the python-packages group with 5 updates 0f946e62
  • Bump the python-packages group with 6 updates 54cda5eb
  • Bump the python-packages group with 6 updates 04e9c364
  • Bump the python-packages group with 4 updates 0210325c
  • Bump the python-packages group with 7 updates 91a721b6
  • Bump the python-packages group with 6 updates e20dc4c5
  • Bump the python-packages group with 4 updates cdf49ec3
  • Bump the python-packages group with 2 updates 36297d45
  • Bump idna from 3.6 to 3.7 35804d98
  • Bump the python-packages group with 3 updates 9ec22dd3
  • Bump the python-packages group with 3 updates 50b04bf2
  • Bump the python-packages group with 3 updates 3b105589
  • Bump the python-packages group with 4 updates d1999549