python-gvm 26.3.0__py3-none-any.whl → 26.4.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gvm/__version__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
4
4
 
5
- __version__ = "26.3.0"
5
+ __version__ = "26.4.0"
gvm/connections/_debug.py CHANGED
@@ -28,7 +28,7 @@ class DebugConnection:
28
28
 
29
29
  socket_connection = UnixSocketConnection(path='/var/run/gvm.sock')
30
30
  connection = DebugConnection(socket_connection)
31
- gmp = Gmp(connection=connection)
31
+ gmp = GMP(connection=connection)
32
32
  """
33
33
 
34
34
  def __init__(self, connection: GvmConnection):
@@ -9,14 +9,14 @@ In most circumstances you will want to use the :class:`GMP` class which
9
9
  dynamically selects the supported GMP protocol of the remote manager daemon.
10
10
 
11
11
  If you need to use a specific GMP version, you can use the :class:`GMPv224`,
12
- :class:`GMPv225`, :class:`GMPv226`, :class:`GMPv227` or :class:`GMPv228` classes.
12
+ :class:`GMPv225`, :class:`GMPv226`, :class:`GMPv227` or :class:`GMPNext` classes.
13
13
 
14
14
  * :class:`GMP` - Dynamically select supported GMP protocol of the remote manager daemon.
15
15
  * :class:`GMPv224` - GMP version 22.4
16
16
  * :class:`GMPv225` - GMP version 22.5
17
17
  * :class:`GMPv226` - GMP version 22.6
18
18
  * :class:`GMPv227` - GMP version 22.7
19
- * :class:`GMPv228` - GMP version 22.8
19
+ * :class:`GMPNext` - "next" GMP version, containing unstable features
20
20
  """
21
21
 
22
22
  from ._gmp import GMP
@@ -24,7 +24,7 @@ from ._gmp224 import GMPv224
24
24
  from ._gmp225 import GMPv225
25
25
  from ._gmp226 import GMPv226
26
26
  from ._gmp227 import GMPv227
27
- from ._gmp228 import GMPv228
27
+ from ._gmpnext import GMPNext
28
28
 
29
29
  Gmp = GMP # for backwards compatibility
30
30
 
@@ -35,5 +35,5 @@ __all__ = (
35
35
  "GMPv225",
36
36
  "GMPv226",
37
37
  "GMPv227",
38
- "GMPv228",
38
+ "GMPNext",
39
39
  )
gvm/protocols/gmp/_gmp.py CHANGED
@@ -16,11 +16,11 @@ from ._gmp224 import GMPv224
16
16
  from ._gmp225 import GMPv225
17
17
  from ._gmp226 import GMPv226
18
18
  from ._gmp227 import GMPv227
19
- from ._gmp228 import GMPv228
19
+ from ._gmpnext import GMPNext
20
20
  from .requests import Version
21
21
 
22
22
  SUPPORTED_GMP_VERSIONS = Union[
23
- GMPv224[T], GMPv225[T], GMPv226[T], GMPv227[T], GMPv228[T]
23
+ GMPv224[T], GMPv225[T], GMPv226[T], GMPv227[T], GMPNext[T]
24
24
  ]
25
25
  _SUPPORTED_GMP_VERSION_STRINGS = ["22.4", "22.5", "22.6", "22.7", "22.8"]
26
26
 
@@ -42,7 +42,7 @@ class GMP(GvmProtocol[T]):
42
42
  # gvm.protocols.gmp.GMPv225,
43
43
  # gvm.protocols.gmp.GMPv226,
44
44
  # gvm.protocols.gmp.GMPv227,
45
- # or gvm.protocols.gmp.GMPv228
45
+ # or gvm.protocols.gmp.GMPNext
46
46
  # depending on the supported GMP version of the remote manager daemon
47
47
  resp = gmp.get_tasks()
48
48
  """
@@ -100,7 +100,7 @@ class GMP(GvmProtocol[T]):
100
100
  elif major_version == 22 and minor_version == 7:
101
101
  gmp_class = GMPv227
102
102
  elif major_version == 22 and minor_version >= 8:
103
- gmp_class = GMPv228
103
+ gmp_class = GMPNext
104
104
  if minor_version > 8:
105
105
  warnings.warn(
106
106
  "Remote manager daemon uses a newer GMP version than "
@@ -8,18 +8,22 @@ from gvm.protocols.gmp.requests import EntityID
8
8
 
9
9
  from .._protocol import T
10
10
  from ._gmp227 import GMPv227
11
- from .requests.v228 import AgentInstallers
11
+ from .requests.next import AgentInstallers
12
12
 
13
13
 
14
- class GMPv228(GMPv227[T]):
14
+ class GMPNext(GMPv227[T]):
15
15
  """
16
- A class implementing the Greenbone Management Protocol (GMP) version 22.8
16
+ A class implementing the "Next" version of Greenbone Management Protocol (GMP)
17
+ containing features that are not part of the stable release yet.
18
+
19
+ These features may change at any time and may not be available in all builds
20
+ of the gvmd back-end.
17
21
 
18
22
  Example:
19
23
 
20
24
  .. code-block:: python
21
25
 
22
- from gvm.protocols.gmp import GMPv228 as GMP
26
+ from gvm.protocols.gmp.next import GMP
23
27
 
24
28
  with GMP(connection) as gmp:
25
29
  resp = gmp.get_tasks()
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # SPDX-License-Identifier: GPL-3.0-or-later
4
4
 
5
- from gvm.protocols.gmp.requests.v228._agent_installers import AgentInstallers
5
+ from gvm.protocols.gmp.requests.next._agent_installers import AgentInstallers
6
6
 
7
7
  from .._entity_id import EntityID
8
8
  from .._version import Version
gvm/protocols/latest.py CHANGED
@@ -22,11 +22,14 @@ Exports:
22
22
  """
23
23
 
24
24
  from .gmp import (
25
- GMPv227 as Gmp,
25
+ GMPv227 as GMP,
26
26
  )
27
27
  from .ospv1 import Osp
28
28
 
29
+ Gmp = GMP # for backwards compatibility
30
+
29
31
  __all__ = [
30
32
  "Gmp",
33
+ "GMP",
31
34
  "Osp",
32
35
  ]
gvm/protocols/next.py CHANGED
@@ -5,7 +5,8 @@
5
5
  """Latest supported protocols, including unstable ones.
6
6
 
7
7
  This module exposes the latest supported protocols of GVM including versions
8
- not yet released as stable.
8
+ not yet released as stable, which may contain features that can change at any time
9
+ and may not be available in all builds of the gvmd back-end.
9
10
 
10
11
  The provided Gmp class implements the latest Greenbone Management Protocol.
11
12
  The provided Osp class implements the latest Open Scanner Protocol.
@@ -14,16 +15,19 @@ For details about the possible supported protocol versions please take a look at
14
15
  :py:mod:`gvm.protocols`.
15
16
 
16
17
  Exports:
17
- - :py:class:`gvm.protocols.gmp.GMPv227`
18
+ - :py:class:`gvm.protocols.gmp.GMPNext`
18
19
  - :py:class:`gvm.protocols.ospv1.Osp`
19
20
  """
20
21
 
21
22
  from .gmp import (
22
- GMPv227 as Gmp,
23
+ GMPNext as GMP,
23
24
  )
24
25
  from .ospv1 import Osp
25
26
 
27
+ Gmp = GMP # for backwards compatibility
28
+
26
29
  __all__ = [
27
30
  "Gmp",
31
+ "GMP",
28
32
  "Osp",
29
33
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-gvm
3
- Version: 26.3.0
3
+ Version: 26.4.0
4
4
  Summary: Library to communicate with remote servers over GMP or OSP
5
5
  License: GPL-3.0-or-later
6
6
  Author: Greenbone AG
@@ -1,9 +1,9 @@
1
1
  gvm/__init__.py,sha256=Eu3a8hRdlixDFn34Q-BwPXVN65KHpgFk_i0CYUdbfF8,412
2
- gvm/__version__.py,sha256=swIGTB9pLXTyWI4raUL06u8dfKsNHqCXNbPZgvJaNKg,103
2
+ gvm/__version__.py,sha256=oZgPBvid4xjHHlarFemwkrYwS4z4huUoPtBc9LmFeQQ,103
3
3
  gvm/_enum.py,sha256=bxaotZwR1qMYk0exi_kKMbL_2ti2ZsyrIJwLGbBNotA,1193
4
4
  gvm/connections/__init__.py,sha256=Be6SBv9aXOF1kZ2WHLhlA0WhFHfjef_6YmHpcKOS9oQ,810
5
5
  gvm/connections/_connection.py,sha256=MrYX_9DaVOPa3-c9Gh7VfU9sCaNPBlBgv1I3OPUUPwc,3442
6
- gvm/connections/_debug.py,sha256=HOA4TU8H66gDflDrD5IBILEbGZiNThYsmKoXdhZIB_E,1884
6
+ gvm/connections/_debug.py,sha256=ZX55U_2_5tbAPpcBxC--KGeY0oC2FCQL7Dqrf4l2nD0,1884
7
7
  gvm/connections/_ssh.py,sha256=zp4_qC8BWJnIvzNGKJggYW1VNl1Acjmwyb4zaqQfitg,11863
8
8
  gvm/connections/_tls.py,sha256=yngx72uFoflPu0bmFDB-SW_O3T0OUXG_bWprYm2dl0Q,3682
9
9
  gvm/connections/_unix.py,sha256=bp0d3Tkpn0sPRqPxFR5YjNHY2aaAlEp_hIn-uvgdGug,1653
@@ -14,16 +14,18 @@ gvm/protocols/core/__init__.py,sha256=AV1deC-hXT_rnlvK0xDkq0nAgEk_dF0qLnxbg_9Rl1
14
14
  gvm/protocols/core/_connection.py,sha256=k7QWgkHHgEpco_7LJ9qrer5XvxoK1eAh6hxo-BXylSc,5735
15
15
  gvm/protocols/core/_request.py,sha256=C5BeKn0O8G1VxVu67yRPT7orFijehEmf8nXdAjG5w3Q,338
16
16
  gvm/protocols/core/_response.py,sha256=M8OSeMd7yPZGJZZWti_mr4mXKEdMpV8nWy4XYFiDrZc,2806
17
- gvm/protocols/gmp/__init__.py,sha256=x1KnEaJLgmk45zWjzf9QVjKDZBLiUhtVij7Qz58BIt4,1081
18
- gvm/protocols/gmp/_gmp.py,sha256=K1WwKKvwmvT_u-6xVKoLjw-aseAfuUXp57Q_c9kG7h8,5235
17
+ gvm/protocols/gmp/__init__.py,sha256=Ydm-UIQFtldyUnt9UBImMMbpXqvhx2rWd6_ZEBP1QOY,1114
18
+ gvm/protocols/gmp/_gmp.py,sha256=dB3p3mvueA3lqz6795VrxoITzQuLnI3nyhZgt_vfgMs,5236
19
19
  gvm/protocols/gmp/_gmp224.py,sha256=eVJ_Ql2Uf-wruVhXCb2gdTewuFMIixZ0OtDy6S04FE8,148279
20
20
  gvm/protocols/gmp/_gmp225.py,sha256=3Eu021ORMP9SluxFCFcM2tY_ZJvZRNlIFQZ3j7vOFT8,2259
21
21
  gvm/protocols/gmp/_gmp226.py,sha256=shNIyZH7YL09VioY5IlpdbmHAmhfw6drVdl72_DK_KU,14701
22
22
  gvm/protocols/gmp/_gmp227.py,sha256=hfRS1-LrHr4c49QXqtUnI95Ksm2oAstoJYWD8cMQk8s,5819
23
- gvm/protocols/gmp/_gmp228.py,sha256=TMC1iSTHb9mhmU5DughjqL8Jm4mbelSKTifQhkARonI,2266
23
+ gvm/protocols/gmp/_gmpnext.py,sha256=rf4zzhsBwOK6xZQXPkY3xDFnJTHVAfLuiQFNblrrnY8,2442
24
24
  gvm/protocols/gmp/requests/__init__.py,sha256=XH1zSifyz9Rx4FqY2lJ1mwurnUepHk7REZ-fSMC_Wx0,200
25
25
  gvm/protocols/gmp/requests/_entity_id.py,sha256=6WnR6nWWLEXjOl_t63KIWK-lch7ZqcSFIOZ8qJntkgg,167
26
26
  gvm/protocols/gmp/requests/_version.py,sha256=GdHQnEVzJ6PbxoU4pxP36Oze1XvK5llWqB9bkC16Pf8,393
27
+ gvm/protocols/gmp/requests/next/__init__.py,sha256=hOrLgfOuCWc9fmrQrCmAmiMONJ89ZR9OVKtykX28YuI,2661
28
+ gvm/protocols/gmp/requests/next/_agent_installers.py,sha256=DQtvi91AwmDXVJ71yYPaQzd5DXHET6s6Z9QTfpbYRyQ,2550
27
29
  gvm/protocols/gmp/requests/v224/__init__.py,sha256=OJ6h3PN0sZNoYrcDZV4BBqhlYaSm72SXQmxq4V33Q_4,3094
28
30
  gvm/protocols/gmp/requests/v224/_aggregates.py,sha256=D_JFgTqgWnjRHcDQAgBeDlf8fE84puRRCpQYuGL5LF4,7777
29
31
  gvm/protocols/gmp/requests/v224/_alerts.py,sha256=qSm4xIUpL9W-68qisVQHipxMnwyYMzXfFCgakg0J0xs,16132
@@ -76,8 +78,6 @@ gvm/protocols/gmp/requests/v226/_reports.py,sha256=dk9u37v9hBKJxl8mqGbEhdHTWIT7q
76
78
  gvm/protocols/gmp/requests/v226/_resource_names.py,sha256=E3UZEpRju9gfMm0NQ73YqOQy2RDTL29IMVailO9P2AY,3511
77
79
  gvm/protocols/gmp/requests/v227/__init__.py,sha256=piHfFVT8W93sn4_64dRH_nznnKprm6Il8oGqYJ72Rbk,2662
78
80
  gvm/protocols/gmp/requests/v227/_scanners.py,sha256=bMyCTY6fCsF7or_GVDlYX6881INroM79ZdyBoGbenos,9798
79
- gvm/protocols/gmp/requests/v228/__init__.py,sha256=3OywBif_eh1SouVpOvm6cKHmh1hLMZcYD9ho-CQg8aA,2661
80
- gvm/protocols/gmp/requests/v228/_agent_installers.py,sha256=DQtvi91AwmDXVJ71yYPaQzd5DXHET6s6Z9QTfpbYRyQ,2550
81
81
  gvm/protocols/http/__init__.py,sha256=HnS3bXYZiYzU0E167TWDX5Egd9aCetsCrFTojVFIrd4,239
82
82
  gvm/protocols/http/openvasd/__init__.py,sha256=7AVS1dhfl5JsrnMyI9l7uVPSKEGsQq8dNAwfHGcucUk,392
83
83
  gvm/protocols/http/openvasd/_api.py,sha256=3p_DxXtWJNzN5yw2mxRCsDqaECVyftYO4mZAWaj3mNA,696
@@ -88,14 +88,14 @@ gvm/protocols/http/openvasd/_notus.py,sha256=FwX5fFsx-FWXf4Rl_5seequkQ6XVS8jZ0NW
88
88
  gvm/protocols/http/openvasd/_openvasd1.py,sha256=XLQbzBYWDZpKzeCSmR6yUiglMyaIoqLRUnFH6aMIwrw,3960
89
89
  gvm/protocols/http/openvasd/_scans.py,sha256=tZKRolVZZIZE5SmODMBWpzRYbLvmkUXdiKMOe4MB1f8,16723
90
90
  gvm/protocols/http/openvasd/_vts.py,sha256=_T4j4SdXe0DthBA7pCehx4FXKYbQyhzpq72YNO4fKt4,2136
91
- gvm/protocols/latest.py,sha256=REm-e_0Bj8qm5vIMAR8lWkdslVfxO5Gc1D6xqZehCyc,795
92
- gvm/protocols/next.py,sha256=YlIg5li18_Ch6hAkm1rzxPkdy_37sdm8ItUylQ3c5so,709
91
+ gvm/protocols/latest.py,sha256=U_396THXKS_Zw75h1gyoZlqFV58nz79BhVNcokpImdc,848
92
+ gvm/protocols/next.py,sha256=jrgoYz9-1or1Vw1_cEqrlQTMpkLakgKOvcXsOyMf3U8,878
93
93
  gvm/protocols/ospv1.py,sha256=JIQfOCLkwU9gEwwuioAtfjVu7bqdhG9Q4SL03atoAio,8987
94
94
  gvm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  gvm/transforms.py,sha256=4VACfdIuZrybSowdp5wbWI7NOAdaIiwjU0oIE6jT2J4,1874
96
96
  gvm/utils.py,sha256=GYBsCIdkH9-ziAk8uRv_gzMYuEFI6D14iFo80ZHCGtE,4590
97
97
  gvm/xml.py,sha256=9fpnGYA4KrOaS0NjXt4iZXdSH8SqKHrvdn2af-VgCdA,7046
98
- python_gvm-26.3.0.dist-info/LICENSE,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
99
- python_gvm-26.3.0.dist-info/METADATA,sha256=LCbSAVBk3rbHGo8FYNMY7p6bQuNuN5PgFhdouUUkxPw,6028
100
- python_gvm-26.3.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
101
- python_gvm-26.3.0.dist-info/RECORD,,
98
+ python_gvm-26.4.0.dist-info/LICENSE,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
99
+ python_gvm-26.4.0.dist-info/METADATA,sha256=u4pQdrN9RfcNBoDnuxLX8i03rKZcauyfl288Keq87L8,6028
100
+ python_gvm-26.4.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
101
+ python_gvm-26.4.0.dist-info/RECORD,,