From 880f0385d789edd6e313f4563bca3b5d3f0cfa1344a347bd2051bd4bcd1e68ba Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 5 Jun 2021 12:21:54 +0000 Subject: [PATCH] Accepting request 897675 from home:mnhauke:OpenVAS - Update to version 21.5.0 * Dropped support for GMP v7, v8 and v9! * Introduced new explicit API calls for SecInfo: get_nvt(), get_nvt_list(), get_cpe(), get_cpe_list(), get_cve(), get_cve_list(), get_cert_bund_advisory(), get_cert_bund_advisory_list(), get_dnf_cert_advisory(), get_dnf_cert_advisory_list(), get_oval_definition(), get_oval_definition_list(). Changed * Splitted up get_preference(s) into get_nvt_preference(s) and get_scan_config_preference(s). * Improved and changed help(): Introduced HelpFormat Enum, changed format parameter to help_format using HelpFormat, changed help_type to brief and bool, as it only has two options (default and brief). * Changed filter to filter_string in getter functions. * API changes: get_setting(s) -> get_user_setting(s), modify_setting -> modify_user_setting. #472 * Changed all API calls for _config to _scan_config to match other Greenbone components. #465 * Split up get_asset(s) into get_host(s) and get_operating_system(s). #459 * Split up delete_asset into delete_host and delete_operating_system. #459 * Split up modify_asset into modify_host and modify_operating_system. #459 * Deleted AssetType. It is not required anymore. #459 * Changed the API calls get_nvt() and get_nvts() to get_scan_config_nvt() and get_scan_config_nvts(). #456 * Splitted up the GmpMonolith class OBS-URL: https://build.opensuse.org/request/show/897675 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gvm?expand=0&rev=8 --- python-gvm-20.11.0.tar.gz | 3 -- python-gvm-21.5.0.tar.gz | 3 ++ python-python-gvm.changes | 83 +++++++++++++++++++++++++++++++++++++++ python-python-gvm.spec | 16 ++++---- 4 files changed, 95 insertions(+), 10 deletions(-) delete mode 100644 python-gvm-20.11.0.tar.gz create mode 100644 python-gvm-21.5.0.tar.gz diff --git a/python-gvm-20.11.0.tar.gz b/python-gvm-20.11.0.tar.gz deleted file mode 100644 index b02bf73..0000000 --- a/python-gvm-20.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a18d250dea3f8f149e9ddff66dac009654ee0399cf1139d3bbed50d9a7cc3459 -size 164170 diff --git a/python-gvm-21.5.0.tar.gz b/python-gvm-21.5.0.tar.gz new file mode 100644 index 0000000..dea5b1b --- /dev/null +++ b/python-gvm-21.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b60632c6f70d72a3531829f5cdd40c7cce02e1b76cc6c99ea7a682c3251491a +size 144193 diff --git a/python-python-gvm.changes b/python-python-gvm.changes index bba58d2..5259994 100644 --- a/python-python-gvm.changes +++ b/python-python-gvm.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Sat Jun 5 12:03:32 UTC 2021 - Martin Hauke + +- Update to version 21.5.0 + * Dropped support for GMP v7, v8 and v9! + * Introduced new explicit API calls for SecInfo: get_nvt(), + get_nvt_list(), get_cpe(), get_cpe_list(), get_cve(), + get_cve_list(), get_cert_bund_advisory(), + get_cert_bund_advisory_list(), get_dnf_cert_advisory(), + get_dnf_cert_advisory_list(), get_oval_definition(), + get_oval_definition_list(). + Changed + * Splitted up get_preference(s) into get_nvt_preference(s) and + get_scan_config_preference(s). + * Improved and changed help(): Introduced HelpFormat Enum, + changed format parameter to help_format using HelpFormat, + changed help_type to brief and bool, as it only has two + options (default and brief). + * Changed filter to filter_string in getter functions. + * API changes: get_setting(s) -> get_user_setting(s), + modify_setting -> modify_user_setting. #472 + * Changed all API calls for _config to _scan_config to match + other Greenbone components. #465 + * Split up get_asset(s) into get_host(s) and + get_operating_system(s). #459 + * Split up delete_asset into delete_host and + delete_operating_system. #459 + * Split up modify_asset into modify_host and + modify_operating_system. #459 + * Deleted AssetType. It is not required anymore. #459 + * Changed the API calls get_nvt() and get_nvts() to + get_scan_config_nvt() and get_scan_config_nvts(). #456 + * Splitted up the GmpMonolith class + * Moved helper functions from gmp to utils. The response XML + will not be recovered by the parser anymore! #442 + Removed + * Removed sync_feed, sync_scap, and sync_cert calls. #472 + * Removed TimeUnit. It was used for schedules before iCal and + is not required anymore. #469 + * Removed Gmpv214Mixin. #467 + * Remove support of delete host/operating system by a report. + * Remove deprecated make_unique parameter from Targets. #446 + * Removed deprecated Agents completely. #441 + * Dropped support for GMP v7, v8 and v9! The oldest usable + GMP version is 20.8 + +------------------------------------------------------------------- +Mon Apr 26 14:50:29 UTC 2021 - Martin Hauke + +- Update to version 21.1.4 + * get_feed can also be requested with GVMD_DATA for 20.08 and + newer, added GVMD_DATA to the FeedType and updated API call. + +------------------------------------------------------------------- +Sat Mar 6 16:39:00 UTC 2021 - Martin Hauke + +- Update to version 21.1.3 + Added + * Added protocol version "next" and GMP 21.04 doc. + Fixed + * Add missing ReportFormatType to GMP 21.04. +- Update to version 21.1.2 + Added + * Added allow_simultaneous_ips param for targets. + Removed + * dropped the GMP Scanner (4) from ScannerTypes for v21.4. + Fixed + * removing timeout from get_nvt(). + * Add ReportFormatType and get_report_format_id_from_string to + latest.py, so it is usable with import gvm.protcols.latest. + * Fixing import_report() for v9 and v20.8 and newer, removed + the task_name and task_comment parameters, that do not work + anymore. +- Update to version 21.1.1 + Fixed + * Fixed release issues, through rerelease. +- Update to version 21.1.0 + * Deprecated + * Dropped Python 3.5 and Python 3.6 support. Python 3.7+ is + required now. + Fixed + * Add missing types and functions to "latest" GMP. + ------------------------------------------------------------------- Thu Nov 5 08:54:31 UTC 2020 - Martin Hauke diff --git a/python-python-gvm.spec b/python-python-gvm.spec index a05d4d8..ec99519 100644 --- a/python-python-gvm.spec +++ b/python-python-gvm.spec @@ -1,8 +1,8 @@ # # spec file for package python-python-gvm # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2020, Martin Hauke +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2020-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,8 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 +%define skip_python39 1 Name: python-python-gvm -Version: 20.11.0 +Version: 21.5.0 Release: 0 Summary: Library to communicate with remote servers over GMP or OSP License: GPL-3.0-only @@ -32,13 +34,13 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module defusedxml >= 0.6.0} -BuildRequires: %{python_module lxml >= 4.5.0} -BuildRequires: %{python_module paramiko >= 2.7.1} +BuildRequires: %{python_module lxml >= 4.4.2} +BuildRequires: %{python_module paramiko >= 2.4.2} BuildRequires: %{python_module pytest} # /SECTION Requires: python-defusedxml >= 0.6.0 -Requires: python-lxml >= 4.5.0 -Requires: python-paramiko >= 2.7.1 +Requires: python-lxml >= 4.4.2 +Requires: python-paramiko >= 2.4.2 BuildArch: noarch %python_subpackages