python-gvm 24.3.0__tar.gz → 24.7.0__tar.gz

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.
Files changed (1144) hide show
  1. python_gvm-24.7.0/PKG-INFO +169 -0
  2. python_gvm-24.7.0/README.md +142 -0
  3. python_gvm-24.7.0/gvm/__version__.py +5 -0
  4. python_gvm-24.7.0/gvm/_enum.py +47 -0
  5. python_gvm-24.7.0/gvm/connections/__init__.py +32 -0
  6. python_gvm-24.7.0/gvm/connections/_connection.py +124 -0
  7. python_gvm-24.7.0/gvm/connections/_debug.py +74 -0
  8. python_gvm-24.7.0/gvm/connections/_ssh.py +352 -0
  9. python_gvm-24.7.0/gvm/connections/_tls.py +104 -0
  10. python_gvm-24.7.0/gvm/connections/_unix.py +54 -0
  11. python_gvm-24.7.0/gvm/errors.py +201 -0
  12. python_gvm-24.7.0/gvm/protocols/__init__.py +17 -0
  13. python_gvm-24.7.0/gvm/protocols/_protocol.py +136 -0
  14. python_gvm-24.7.0/gvm/protocols/core/__init__.py +15 -0
  15. python_gvm-24.7.0/gvm/protocols/core/_connection.py +201 -0
  16. python_gvm-24.7.0/gvm/protocols/core/_request.py +16 -0
  17. python_gvm-24.7.0/gvm/protocols/core/_response.py +115 -0
  18. python_gvm-24.7.0/gvm/protocols/gmp/__init__.py +30 -0
  19. python_gvm-24.7.0/gvm/protocols/gmp/_gmp.py +118 -0
  20. python_gvm-24.7.0/gvm/protocols/gmp/_gmp224.py +4300 -0
  21. python_gvm-24.7.0/gvm/protocols/gmp/_gmp225.py +95 -0
  22. python_gvm-24.7.0/gvm/protocols/gmp/requests/__init__.py +11 -0
  23. python_gvm-24.7.0/gvm/protocols/gmp/requests/_entity_id.py +8 -0
  24. python_gvm-24.7.0/gvm/protocols/gmp/requests/_version.py +15 -0
  25. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/__init__.py +124 -0
  26. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_aggregates.py +200 -0
  27. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_alerts.py +477 -0
  28. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_audits.py +366 -0
  29. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_auth.py +77 -0
  30. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_cert_bund_advisories.py +67 -0
  31. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_cpes.py +68 -0
  32. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_credentials.py +536 -0
  33. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_cves.py +68 -0
  34. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_dfn_cert_advisories.py +68 -0
  35. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_entity_type.py +67 -0
  36. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_feed.py +46 -0
  37. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_filters.py +241 -0
  38. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_groups.py +166 -0
  39. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_help.py +49 -0
  40. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_hosts.py +142 -0
  41. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_notes.py +230 -0
  42. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_nvts.py +253 -0
  43. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_operating_systems.py +113 -0
  44. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_overrides.py +240 -0
  45. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_permissions.py +266 -0
  46. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_policies.py +423 -0
  47. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_port_lists.py +248 -0
  48. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_report_formats.py +256 -0
  49. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_reports.py +169 -0
  50. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_results.py +74 -0
  51. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_roles.py +157 -0
  52. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_scan_configs.py +510 -0
  53. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_scanners.py +298 -0
  54. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_schedules.py +230 -0
  55. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_secinfo.py +100 -0
  56. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_system_reports.py +68 -0
  57. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_tags.py +256 -0
  58. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_targets.py +371 -0
  59. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_tasks.py +425 -0
  60. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_tickets.py +206 -0
  61. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_tls_certificates.py +185 -0
  62. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_trashcan.py +39 -0
  63. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_user_settings.py +85 -0
  64. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_users.py +235 -0
  65. python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_vulnerabilities.py +46 -0
  66. python_gvm-24.7.0/gvm/protocols/gmp/requests/v225/__init__.py +144 -0
  67. python_gvm-24.7.0/gvm/protocols/gmp/requests/v225/_resource_names.py +114 -0
  68. python_gvm-24.7.0/gvm/protocols/latest.py +32 -0
  69. python_gvm-24.7.0/gvm/protocols/next.py +32 -0
  70. python_gvm-24.7.0/gvm/protocols/ospv1.py +269 -0
  71. python_gvm-24.7.0/gvm/transforms.py +70 -0
  72. python_gvm-24.7.0/gvm/utils.py +181 -0
  73. python_gvm-24.7.0/gvm/xml.py +200 -0
  74. python_gvm-24.7.0/pyproject.toml +86 -0
  75. python_gvm-24.7.0/tests/connections/test_debug_connection.py +19 -0
  76. python_gvm-24.7.0/tests/connections/test_gvm_connection.py +62 -0
  77. python_gvm-24.7.0/tests/connections/test_ssh_connection.py +494 -0
  78. python_gvm-24.7.0/tests/connections/test_tls_connection.py +68 -0
  79. python_gvm-24.7.0/tests/connections/test_unix_socket_connection.py +114 -0
  80. python_gvm-24.7.0/tests/protocols/__init__.py +29 -0
  81. python_gvm-24.7.0/tests/protocols/core/__init__.py +3 -0
  82. python_gvm-24.7.0/tests/protocols/core/test_connection.py +146 -0
  83. python_gvm-24.7.0/tests/protocols/core/test_request.py +24 -0
  84. python_gvm-24.7.0/tests/protocols/core/test_response.py +103 -0
  85. python_gvm-24.7.0/tests/protocols/core/test_states.py +172 -0
  86. python_gvm-24.7.0/tests/protocols/core/test_xml_reader.py +16 -0
  87. python_gvm-24.7.0/tests/protocols/gmp/requests/__init__.py +3 -0
  88. python_gvm-24.7.0/tests/protocols/gmp/requests/test_version.py +16 -0
  89. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/__init__.py +3 -0
  90. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_aggregates.py +350 -0
  91. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_alerts.py +838 -0
  92. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_audits.py +752 -0
  93. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_auth.py +92 -0
  94. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_cert_bund_advisories.py +69 -0
  95. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_cpes.py +65 -0
  96. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_credentials.py +844 -0
  97. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_cves.py +65 -0
  98. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_dfn_cert_advisories.py +69 -0
  99. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_feed.py +51 -0
  100. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_filters.py +247 -0
  101. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_groups.py +190 -0
  102. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_help.py +29 -0
  103. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_hosts.py +138 -0
  104. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_notes.py +365 -0
  105. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_nvts.py +267 -0
  106. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_operating_systems.py +114 -0
  107. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_overrides.py +509 -0
  108. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_permissions.py +310 -0
  109. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_policies.py +507 -0
  110. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_port_lists.py +338 -0
  111. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_report_formats.py +300 -0
  112. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_reports.py +227 -0
  113. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_results.py +91 -0
  114. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_roles.py +147 -0
  115. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_scan_configs.py +777 -0
  116. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_scanners.py +424 -0
  117. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_schedules.py +219 -0
  118. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_secinfo.py +87 -0
  119. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_system_report.py +59 -0
  120. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_tags.py +354 -0
  121. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_targets.py +649 -0
  122. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_tasks.py +733 -0
  123. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_tickets.py +247 -0
  124. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_tls_certificates.py +246 -0
  125. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_trashcan.py +24 -0
  126. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_user_settings.py +74 -0
  127. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_users.py +266 -0
  128. python_gvm-24.7.0/tests/protocols/gmp/requests/v224/test_vulnerabilities.py +44 -0
  129. python_gvm-24.7.0/tests/protocols/gmp/requests/v225/__init__.py +3 -0
  130. python_gvm-24.7.0/tests/protocols/gmp/requests/v225/test_resource_names.py +417 -0
  131. python_gvm-24.7.0/tests/protocols/gmp/test_context_manager.py +141 -0
  132. python_gvm-24.7.0/tests/protocols/gmpv224/__init__.py +13 -0
  133. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_clone_alert.py +22 -0
  134. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_create_alert.py +416 -0
  135. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_delete_alert.py +29 -0
  136. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_get_alert.py +41 -0
  137. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_get_alerts.py +41 -0
  138. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_modify_alert.py +215 -0
  139. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_test_alert.py +22 -0
  140. python_gvm-24.7.0/tests/protocols/gmpv224/entities/alerts/test_trigger_alert.py +74 -0
  141. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_clone_audit.py +22 -0
  142. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_create_audit.py +374 -0
  143. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_delete_audit.py +29 -0
  144. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_get_audit.py +22 -0
  145. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_get_audits.py +55 -0
  146. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_modify_audit.py +183 -0
  147. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_resume_audit.py +22 -0
  148. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_start_audit.py +20 -0
  149. python_gvm-24.7.0/tests/protocols/gmpv224/entities/audits/test_stop_audit.py +20 -0
  150. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_clone_credential.py +22 -0
  151. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_create_credential.py +446 -0
  152. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_delete_credential.py +29 -0
  153. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_get_credential.py +88 -0
  154. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_get_credentials.py +64 -0
  155. python_gvm-24.7.0/tests/protocols/gmpv224/entities/credentials/test_modify_credential.py +203 -0
  156. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_clone_filter.py +22 -0
  157. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_create_filter.py +103 -0
  158. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_delete_filter.py +29 -0
  159. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_get_filter.py +41 -0
  160. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_get_filters.py +43 -0
  161. python_gvm-24.7.0/tests/protocols/gmpv224/entities/filters/test_modify_filter.py +66 -0
  162. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_clone_group.py +22 -0
  163. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_create_group.py +60 -0
  164. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_delete_group.py +29 -0
  165. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_get_group.py +28 -0
  166. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_get_groups.py +32 -0
  167. python_gvm-24.7.0/tests/protocols/gmpv224/entities/groups/test_modify_group.py +58 -0
  168. python_gvm-24.7.0/tests/protocols/gmpv224/entities/hosts/test_create_host.py +40 -0
  169. python_gvm-24.7.0/tests/protocols/gmpv224/entities/hosts/test_delete_host.py +19 -0
  170. python_gvm-24.7.0/tests/protocols/gmpv224/entities/hosts/test_get_host.py +45 -0
  171. python_gvm-24.7.0/tests/protocols/gmpv224/entities/hosts/test_get_hosts.py +38 -0
  172. python_gvm-24.7.0/tests/protocols/gmpv224/entities/hosts/test_modify_host.py +60 -0
  173. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_clone_note.py +22 -0
  174. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_create_note.py +156 -0
  175. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_delete_note.py +29 -0
  176. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_get_note.py +28 -0
  177. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_get_notes.py +41 -0
  178. python_gvm-24.7.0/tests/protocols/gmpv224/entities/notes/test_modify_note.py +149 -0
  179. python_gvm-24.7.0/tests/protocols/gmpv224/entities/operating_systems/test_delete_operating_system.py +19 -0
  180. python_gvm-24.7.0/tests/protocols/gmpv224/entities/operating_systems/test_get_operating_system.py +39 -0
  181. python_gvm-24.7.0/tests/protocols/gmpv224/entities/operating_systems/test_get_operating_systems.py +38 -0
  182. python_gvm-24.7.0/tests/protocols/gmpv224/entities/operating_systems/test_modify_operating_system.py +64 -0
  183. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_clone_override.py +22 -0
  184. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_create_override.py +189 -0
  185. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_delete_override.py +29 -0
  186. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_get_override.py +28 -0
  187. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_get_overrides.py +51 -0
  188. python_gvm-24.7.0/tests/protocols/gmpv224/entities/overrides/test_modify_override.py +184 -0
  189. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_clone_permission.py +22 -0
  190. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_create_permission.py +174 -0
  191. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_delete_permission.py +29 -0
  192. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_get_permission.py +28 -0
  193. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_get_permissions.py +38 -0
  194. python_gvm-24.7.0/tests/protocols/gmpv224/entities/permissions/test_modify_permission.py +204 -0
  195. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_clone_policy.py +22 -0
  196. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_create_policy.py +38 -0
  197. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_delete_policy.py +29 -0
  198. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_get_policies.py +90 -0
  199. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_get_policy.py +30 -0
  200. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_import_policy.py +39 -0
  201. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_comment.py +43 -0
  202. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_family_selection.py +192 -0
  203. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_name.py +37 -0
  204. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_nvt_preference.py +94 -0
  205. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_nvt_selection.py +105 -0
  206. python_gvm-24.7.0/tests/protocols/gmpv224/entities/policies/test_modify_policy_set_scanner_preference.py +71 -0
  207. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_clone_port_list.py +22 -0
  208. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_create_port_list.py +45 -0
  209. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_create_port_range.py +145 -0
  210. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_delete_port_list.py +29 -0
  211. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_delete_port_range.py +22 -0
  212. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_get_port_list.py +25 -0
  213. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_get_port_lists.py +64 -0
  214. python_gvm-24.7.0/tests/protocols/gmpv224/entities/port_lists/test_modify_port_list.py +43 -0
  215. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_clone_report_format.py +34 -0
  216. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_delete_report_format.py +41 -0
  217. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_get_report_format.py +48 -0
  218. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_get_report_formats.py +77 -0
  219. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_import_report_format.py +40 -0
  220. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_modify_report_format.py +110 -0
  221. python_gvm-24.7.0/tests/protocols/gmpv224/entities/report_formats/test_verify_report_format.py +33 -0
  222. python_gvm-24.7.0/tests/protocols/gmpv224/entities/reports/test_delete_report.py +22 -0
  223. python_gvm-24.7.0/tests/protocols/gmpv224/entities/reports/test_get_report.py +81 -0
  224. python_gvm-24.7.0/tests/protocols/gmpv224/entities/reports/test_get_reports.py +63 -0
  225. python_gvm-24.7.0/tests/protocols/gmpv224/entities/reports/test_import_report.py +70 -0
  226. python_gvm-24.7.0/tests/protocols/gmpv224/entities/results/test_get_result.py +28 -0
  227. python_gvm-24.7.0/tests/protocols/gmpv224/entities/results/test_get_results.py +67 -0
  228. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_clone_role.py +22 -0
  229. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_create_role.py +48 -0
  230. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_delete_role.py +29 -0
  231. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_get_role.py +24 -0
  232. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_get_roles.py +32 -0
  233. python_gvm-24.7.0/tests/protocols/gmpv224/entities/roles/test_modify_role.py +62 -0
  234. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/__init__.py +50 -0
  235. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py +22 -0
  236. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py +45 -0
  237. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py +29 -0
  238. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py +30 -0
  239. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py +39 -0
  240. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py +25 -0
  241. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py +90 -0
  242. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py +39 -0
  243. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py +137 -0
  244. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py +43 -0
  245. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py +244 -0
  246. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py +37 -0
  247. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +94 -0
  248. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +113 -0
  249. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +75 -0
  250. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_clone_scanner.py +22 -0
  251. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py +193 -0
  252. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_delete_scanner.py +29 -0
  253. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_get_scanner.py +28 -0
  254. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_get_scanners.py +47 -0
  255. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py +127 -0
  256. python_gvm-24.7.0/tests/protocols/gmpv224/entities/scanners/test_verify_scanner.py +22 -0
  257. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_clone_schedule.py +22 -0
  258. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_create_schedule.py +86 -0
  259. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_delete_schedule.py +29 -0
  260. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_get_schedule.py +41 -0
  261. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_get_schedules.py +43 -0
  262. python_gvm-24.7.0/tests/protocols/gmpv224/entities/schedules/test_modify_schedule.py +69 -0
  263. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cert_bund_advisories.py +47 -0
  264. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cert_bund_advisory.py +31 -0
  265. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cpe.py +31 -0
  266. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cpes.py +45 -0
  267. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cve.py +31 -0
  268. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_cves.py +45 -0
  269. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_dfn_cert_advisories.py +47 -0
  270. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_dfn_cert_advisory.py +31 -0
  271. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_info.py +75 -0
  272. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_info_list.py +95 -0
  273. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_nvt.py +49 -0
  274. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_nvt_families.py +18 -0
  275. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_nvt_preference.py +32 -0
  276. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_nvt_preferences.py +18 -0
  277. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_nvts.py +125 -0
  278. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_oval_definition.py +31 -0
  279. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_oval_definitions.py +45 -0
  280. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_scan_config_nvt.py +26 -0
  281. python_gvm-24.7.0/tests/protocols/gmpv224/entities/secinfo/test_get_scan_config_nvts.py +86 -0
  282. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_clone_tag.py +22 -0
  283. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_create_tag.py +259 -0
  284. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_delete_tag.py +29 -0
  285. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_get_tag.py +24 -0
  286. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_get_tags.py +41 -0
  287. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tags/test_modify_tag.py +187 -0
  288. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_clone_target.py +26 -0
  289. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_create_target.py +225 -0
  290. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_delete_target.py +29 -0
  291. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_get_target.py +41 -0
  292. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_get_targets.py +43 -0
  293. python_gvm-24.7.0/tests/protocols/gmpv224/entities/targets/test_modify_target.py +211 -0
  294. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_clone_task.py +22 -0
  295. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_create_container_task.py +36 -0
  296. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_create_task.py +374 -0
  297. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_delete_task.py +29 -0
  298. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_get_task.py +22 -0
  299. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_get_tasks.py +68 -0
  300. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_modify_task.py +181 -0
  301. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_move_task.py +27 -0
  302. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_resume_task.py +22 -0
  303. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_start_task.py +20 -0
  304. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tasks/test_stop_task.py +20 -0
  305. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_alerts.py +48 -0
  306. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_audits.py +53 -0
  307. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_credentials.py +48 -0
  308. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_filters.py +38 -0
  309. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_groups.py +38 -0
  310. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_hosts.py +33 -0
  311. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_notes.py +38 -0
  312. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_operating_systems.py +36 -0
  313. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_overrides.py +44 -0
  314. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_permissions.py +48 -0
  315. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_policies.py +80 -0
  316. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_port_lists.py +58 -0
  317. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_report_formats.py +57 -0
  318. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_reports.py +28 -0
  319. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_results.py +18 -0
  320. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_roles.py +38 -0
  321. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_scan_configs.py +90 -0
  322. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_scanners.py +38 -0
  323. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_schedules.py +44 -0
  324. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_secinfo.py +91 -0
  325. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_tags.py +38 -0
  326. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_targets.py +38 -0
  327. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_tasks.py +65 -0
  328. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_tickets.py +38 -0
  329. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_tls_certificates.py +50 -0
  330. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_users.py +38 -0
  331. python_gvm-24.7.0/tests/protocols/gmpv224/entities/test_vulnerabilities.py +22 -0
  332. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_clone_ticket.py +31 -0
  333. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_create_ticket.py +60 -0
  334. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_delete_ticket.py +29 -0
  335. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_get_ticket.py +28 -0
  336. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_get_tickets.py +34 -0
  337. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tickets/test_modify_ticket.py +100 -0
  338. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_clone_tls_certificate.py +24 -0
  339. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_create_tls_certificate.py +44 -0
  340. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_delete_tls_certificate.py +26 -0
  341. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_get_tls_certificate.py +23 -0
  342. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_get_tls_certificates.py +32 -0
  343. python_gvm-24.7.0/tests/protocols/gmpv224/entities/tls_certificates/test_modify_tls_certificate.py +57 -0
  344. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_clone_user.py +22 -0
  345. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_create_user.py +71 -0
  346. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_delete_user.py +50 -0
  347. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_get_user.py +24 -0
  348. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_get_users.py +23 -0
  349. python_gvm-24.7.0/tests/protocols/gmpv224/entities/users/test_modify_user.py +152 -0
  350. python_gvm-24.7.0/tests/protocols/gmpv224/entities/vulnerabilities/test_get_vulnerabilities.py +23 -0
  351. python_gvm-24.7.0/tests/protocols/gmpv224/entities/vulnerabilities/test_get_vulnerability.py +24 -0
  352. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_aggregate_statistic.py +61 -0
  353. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_alert_condition.py +49 -0
  354. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_alert_event.py +49 -0
  355. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_alert_method.py +73 -0
  356. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_alive_test.py +65 -0
  357. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_credential_format.py +45 -0
  358. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_credential_type.py +49 -0
  359. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_entity_type.py +166 -0
  360. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_feed_type.py +41 -0
  361. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_filter_type.py +138 -0
  362. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_help_format.py +41 -0
  363. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_hosts_ordering.py +33 -0
  364. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_info_type.py +53 -0
  365. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_permission_subject_type.py +37 -0
  366. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_port_range_type.py +33 -0
  367. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_report_format_type.py +101 -0
  368. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_scanner_type.py +53 -0
  369. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_snmp_algorithms.py +52 -0
  370. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_sort_order.py +33 -0
  371. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_ticket_status.py +33 -0
  372. python_gvm-24.7.0/tests/protocols/gmpv224/enums/test_user_auth_type.py +37 -0
  373. python_gvm-24.7.0/tests/protocols/gmpv224/system/aggregates/test_get_aggregates.py +354 -0
  374. python_gvm-24.7.0/tests/protocols/gmpv224/system/authentication/test_authenticate.py +58 -0
  375. python_gvm-24.7.0/tests/protocols/gmpv224/system/authentication/test_describe_auth.py +11 -0
  376. python_gvm-24.7.0/tests/protocols/gmpv224/system/authentication/test_modify_auth.py +57 -0
  377. python_gvm-24.7.0/tests/protocols/gmpv224/system/feed/test_get_feed.py +52 -0
  378. python_gvm-24.7.0/tests/protocols/gmpv224/system/feed/test_get_feeds.py +11 -0
  379. python_gvm-24.7.0/tests/protocols/gmpv224/system/help/test_help.py +30 -0
  380. python_gvm-24.7.0/tests/protocols/gmpv224/system/system_reports/test_get_system_reports.py +65 -0
  381. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_aggregates.py +11 -0
  382. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_authentication.py +25 -0
  383. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_feed.py +15 -0
  384. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_help.py +11 -0
  385. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_system_reports.py +13 -0
  386. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_trashcan.py +20 -0
  387. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_user_settings.py +29 -0
  388. python_gvm-24.7.0/tests/protocols/gmpv224/system/test_versions.py +17 -0
  389. python_gvm-24.7.0/tests/protocols/gmpv224/system/trashcan/test_empty_trashcan.py +11 -0
  390. python_gvm-24.7.0/tests/protocols/gmpv224/system/trashcan/test_restore_from_trashcan.py +20 -0
  391. python_gvm-24.7.0/tests/protocols/gmpv224/system/user_settings/test_get_user_setting.py +22 -0
  392. python_gvm-24.7.0/tests/protocols/gmpv224/system/user_settings/test_get_user_settings.py +18 -0
  393. python_gvm-24.7.0/tests/protocols/gmpv224/system/user_settings/test_modify_user_setting.py +52 -0
  394. python_gvm-24.7.0/tests/protocols/gmpv224/system/versions/test_get_version.py +14 -0
  395. python_gvm-24.7.0/tests/protocols/gmpv224/test_gmp_types.py +37 -0
  396. python_gvm-24.7.0/tests/protocols/gmpv225/__init__.py +13 -0
  397. python_gvm-24.7.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py +238 -0
  398. python_gvm-24.7.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py +192 -0
  399. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_alerts.py +48 -0
  400. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_audits.py +53 -0
  401. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_credentials.py +48 -0
  402. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_filters.py +38 -0
  403. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_groups.py +38 -0
  404. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_hosts.py +33 -0
  405. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_notes.py +38 -0
  406. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_operating_systems.py +36 -0
  407. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_overrides.py +44 -0
  408. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_permissions.py +48 -0
  409. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_policies.py +80 -0
  410. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_port_lists.py +58 -0
  411. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_report_formats.py +57 -0
  412. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_reports.py +28 -0
  413. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_results.py +18 -0
  414. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_roles.py +38 -0
  415. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_scan_configs.py +90 -0
  416. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_scanners.py +38 -0
  417. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_schedules.py +44 -0
  418. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_secinfo.py +91 -0
  419. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_tags.py +38 -0
  420. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_targets.py +38 -0
  421. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_tasks.py +65 -0
  422. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_tickets.py +38 -0
  423. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_tls_certificates.py +50 -0
  424. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_users.py +38 -0
  425. python_gvm-24.7.0/tests/protocols/gmpv225/entities/test_vulnerabilities.py +22 -0
  426. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_aggregate_statistic.py +61 -0
  427. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_alert_condition.py +49 -0
  428. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_alert_event.py +49 -0
  429. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_alert_method.py +73 -0
  430. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_alive_test.py +65 -0
  431. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_credential_format.py +45 -0
  432. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_credential_type.py +49 -0
  433. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_entity_type.py +166 -0
  434. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_feed_type.py +41 -0
  435. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_filter_type.py +138 -0
  436. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_help_format.py +41 -0
  437. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_hosts_ordering.py +33 -0
  438. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_info_type.py +53 -0
  439. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_permission_subject_type.py +37 -0
  440. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_port_range_type.py +33 -0
  441. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_report_format_type.py +101 -0
  442. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_resource_type.py +133 -0
  443. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_scanner_type.py +53 -0
  444. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_snmp_algorithms.py +52 -0
  445. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_sort_order.py +33 -0
  446. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_ticket_status.py +33 -0
  447. python_gvm-24.7.0/tests/protocols/gmpv225/enums/test_user_auth_type.py +37 -0
  448. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_aggregates.py +11 -0
  449. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_authentication.py +25 -0
  450. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_feed.py +15 -0
  451. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_help.py +11 -0
  452. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_system_reports.py +13 -0
  453. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_trashcan.py +20 -0
  454. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_user_settings.py +29 -0
  455. python_gvm-24.7.0/tests/protocols/gmpv225/system/test_versions.py +18 -0
  456. python_gvm-24.7.0/tests/protocols/gmpv225/test_gmp_types.py +37 -0
  457. python_gvm-24.7.0/tests/protocols/osp/test_osp_delete_scan.py +34 -0
  458. python_gvm-24.7.0/tests/protocols/osp/test_osp_get_scanner_details.py +25 -0
  459. python_gvm-24.7.0/tests/protocols/osp/test_osp_get_scans.py +34 -0
  460. python_gvm-24.7.0/tests/protocols/osp/test_osp_get_version.py +25 -0
  461. python_gvm-24.7.0/tests/protocols/osp/test_osp_get_vts.py +32 -0
  462. python_gvm-24.7.0/tests/protocols/osp/test_osp_help.py +25 -0
  463. python_gvm-24.7.0/tests/protocols/osp/test_osp_start_scan.py +89 -0
  464. python_gvm-24.7.0/tests/protocols/osp/test_osp_stop_scan.py +35 -0
  465. python_gvm-24.7.0/tests/test_enum.py +85 -0
  466. python_gvm-24.7.0/tests/test_errors.py +214 -0
  467. python_gvm-24.7.0/tests/transforms/test_check_command_transform.py +65 -0
  468. python_gvm-24.7.0/tests/transforms/test_etree_check_command_transform.py +45 -0
  469. python_gvm-24.7.0/tests/transforms/test_etree_transform.py +27 -0
  470. python_gvm-24.7.0/tests/utils/test_check_command_status.py +67 -0
  471. python_gvm-24.7.0/tests/utils/test_to_base64.py +21 -0
  472. python_gvm-24.7.0/tests/xml/test_parse_xml.py +32 -0
  473. python_gvm-24.7.0/tests/xml/test_pretty_print.py +169 -0
  474. python_gvm-24.3.0/PKG-INFO +0 -164
  475. python_gvm-24.3.0/README.md +0 -135
  476. python_gvm-24.3.0/gvm/__version__.py +0 -5
  477. python_gvm-24.3.0/gvm/_enum.py +0 -38
  478. python_gvm-24.3.0/gvm/connections.py +0 -636
  479. python_gvm-24.3.0/gvm/errors.py +0 -187
  480. python_gvm-24.3.0/gvm/protocols/__init__.py +0 -22
  481. python_gvm-24.3.0/gvm/protocols/base.py +0 -129
  482. python_gvm-24.3.0/gvm/protocols/gmp.py +0 -119
  483. python_gvm-24.3.0/gvm/protocols/gmpv208/__init__.py +0 -183
  484. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/alerts.py +0 -518
  485. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/audits.py +0 -437
  486. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/credentials.py +0 -532
  487. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/entities.py +0 -68
  488. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/filter.py +0 -256
  489. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/groups.py +0 -173
  490. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/hosts.py +0 -143
  491. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/notes.py +0 -264
  492. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/operating_systems.py +0 -117
  493. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/overrides.py +0 -299
  494. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/permissions.py +0 -281
  495. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/policies.py +0 -429
  496. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/port_lists.py +0 -260
  497. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/report_formats.py +0 -279
  498. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/reports.py +0 -179
  499. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/results.py +0 -75
  500. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/roles.py +0 -166
  501. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/scan_configs.py +0 -626
  502. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/scanners.py +0 -317
  503. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/schedules.py +0 -234
  504. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/secinfo.py +0 -620
  505. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tags.py +0 -273
  506. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/targets.py +0 -370
  507. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tasks.py +0 -489
  508. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tickets.py +0 -217
  509. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tls_certificates.py +0 -195
  510. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/users.py +0 -278
  511. python_gvm-24.3.0/gvm/protocols/gmpv208/entities/vulnerabilities.py +0 -51
  512. python_gvm-24.3.0/gvm/protocols/gmpv208/system/aggregates.py +0 -198
  513. python_gvm-24.3.0/gvm/protocols/gmpv208/system/authentication.py +0 -101
  514. python_gvm-24.3.0/gvm/protocols/gmpv208/system/feed.py +0 -55
  515. python_gvm-24.3.0/gvm/protocols/gmpv208/system/help.py +0 -57
  516. python_gvm-24.3.0/gvm/protocols/gmpv208/system/system_reports.py +0 -66
  517. python_gvm-24.3.0/gvm/protocols/gmpv208/system/trashcan.py +0 -42
  518. python_gvm-24.3.0/gvm/protocols/gmpv208/system/user_settings.py +0 -87
  519. python_gvm-24.3.0/gvm/protocols/gmpv208/system/version.py +0 -31
  520. python_gvm-24.3.0/gvm/protocols/gmpv214/__init__.py +0 -187
  521. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/__init__.py +0 -4
  522. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/notes.py +0 -167
  523. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/overrides.py +0 -196
  524. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/scanners.py +0 -204
  525. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/targets.py +0 -245
  526. python_gvm-24.3.0/gvm/protocols/gmpv214/entities/users.py +0 -110
  527. python_gvm-24.3.0/gvm/protocols/gmpv214/system/__init__.py +0 -4
  528. python_gvm-24.3.0/gvm/protocols/gmpv214/system/version.py +0 -23
  529. python_gvm-24.3.0/gvm/protocols/gmpv224/__init__.py +0 -189
  530. python_gvm-24.3.0/gvm/protocols/gmpv224/entities/__init__.py +0 -4
  531. python_gvm-24.3.0/gvm/protocols/gmpv224/entities/scan_configs.py +0 -582
  532. python_gvm-24.3.0/gvm/protocols/gmpv224/entities/scanners.py +0 -201
  533. python_gvm-24.3.0/gvm/protocols/gmpv224/entities/users.py +0 -176
  534. python_gvm-24.3.0/gvm/protocols/gmpv224/system/__init__.py +0 -4
  535. python_gvm-24.3.0/gvm/protocols/gmpv224/system/version.py +0 -23
  536. python_gvm-24.3.0/gvm/protocols/gmpv225/__init__.py +0 -197
  537. python_gvm-24.3.0/gvm/protocols/gmpv225/entities/resourcenames.py +0 -126
  538. python_gvm-24.3.0/gvm/protocols/gmpv225/system/version.py +0 -22
  539. python_gvm-24.3.0/gvm/protocols/latest.py +0 -80
  540. python_gvm-24.3.0/gvm/protocols/next.py +0 -80
  541. python_gvm-24.3.0/gvm/protocols/ospv1.py +0 -277
  542. python_gvm-24.3.0/gvm/transforms.py +0 -68
  543. python_gvm-24.3.0/gvm/utils.py +0 -100
  544. python_gvm-24.3.0/gvm/xml.py +0 -138
  545. python_gvm-24.3.0/pyproject.toml +0 -77
  546. python_gvm-24.3.0/tests/connections/test_gvm_connection.py +0 -73
  547. python_gvm-24.3.0/tests/connections/test_ssh_connection.py +0 -500
  548. python_gvm-24.3.0/tests/connections/test_tls_connection.py +0 -69
  549. python_gvm-24.3.0/tests/connections/test_unix_socket_connection.py +0 -124
  550. python_gvm-24.3.0/tests/protocols/__init__.py +0 -27
  551. python_gvm-24.3.0/tests/protocols/gmp/test_context_manager.py +0 -144
  552. python_gvm-24.3.0/tests/protocols/gmpv208/__init__.py +0 -12
  553. python_gvm-24.3.0/tests/protocols/gmpv208/entities/__init__.py +0 -4
  554. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py +0 -22
  555. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_create_alert.py +0 -412
  556. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py +0 -29
  557. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_get_alert.py +0 -37
  558. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py +0 -41
  559. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py +0 -211
  560. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_test_alert.py +0 -20
  561. python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py +0 -76
  562. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_clone_audit.py +0 -22
  563. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_create_audit.py +0 -422
  564. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_delete_audit.py +0 -29
  565. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_get_audit.py +0 -22
  566. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_get_audits.py +0 -55
  567. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_modify_audit.py +0 -202
  568. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_resume_audit.py +0 -20
  569. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_start_audit.py +0 -20
  570. python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_stop_audit.py +0 -20
  571. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py +0 -22
  572. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_create_credential.py +0 -415
  573. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py +0 -29
  574. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_get_credential.py +0 -88
  575. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py +0 -64
  576. python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py +0 -200
  577. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_clone_filter.py +0 -22
  578. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_create_filter.py +0 -103
  579. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_delete_filter.py +0 -29
  580. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_get_filter.py +0 -41
  581. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_get_filters.py +0 -41
  582. python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_modify_filter.py +0 -66
  583. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_clone_group.py +0 -22
  584. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_create_group.py +0 -60
  585. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_delete_group.py +0 -29
  586. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_get_group.py +0 -24
  587. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_get_groups.py +0 -32
  588. python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_modify_group.py +0 -58
  589. python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_create_host.py +0 -40
  590. python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_delete_host.py +0 -19
  591. python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_get_host.py +0 -45
  592. python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py +0 -38
  593. python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_modify_host.py +0 -60
  594. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_clone_note.py +0 -22
  595. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_create_note.py +0 -175
  596. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_delete_note.py +0 -29
  597. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_get_note.py +0 -28
  598. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_get_notes.py +0 -41
  599. python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_modify_note.py +0 -169
  600. python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py +0 -19
  601. python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py +0 -39
  602. python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py +0 -38
  603. python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py +0 -64
  604. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_clone_override.py +0 -22
  605. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_create_override.py +0 -230
  606. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_delete_override.py +0 -29
  607. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_get_override.py +0 -28
  608. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py +0 -47
  609. python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_modify_override.py +0 -232
  610. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py +0 -22
  611. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_create_permission.py +0 -174
  612. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py +0 -29
  613. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_get_permission.py +0 -28
  614. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py +0 -38
  615. python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py +0 -204
  616. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_clone_policy.py +0 -22
  617. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_create_policy.py +0 -38
  618. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_delete_policy.py +0 -29
  619. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_get_policies.py +0 -90
  620. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_get_policy.py +0 -30
  621. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_import_policy.py +0 -37
  622. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py +0 -43
  623. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py +0 -220
  624. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py +0 -37
  625. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py +0 -94
  626. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py +0 -113
  627. python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py +0 -71
  628. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py +0 -22
  629. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py +0 -45
  630. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py +0 -145
  631. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py +0 -29
  632. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py +0 -22
  633. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py +0 -25
  634. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py +0 -60
  635. python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py +0 -43
  636. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py +0 -34
  637. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py +0 -39
  638. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py +0 -44
  639. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py +0 -77
  640. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py +0 -38
  641. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py +0 -110
  642. python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py +0 -31
  643. python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_delete_report.py +0 -22
  644. python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_get_report.py +0 -81
  645. python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_get_reports.py +0 -63
  646. python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_import_report.py +0 -74
  647. python_gvm-24.3.0/tests/protocols/gmpv208/entities/results/test_get_result.py +0 -28
  648. python_gvm-24.3.0/tests/protocols/gmpv208/entities/results/test_get_results.py +0 -63
  649. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_clone_role.py +0 -22
  650. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_create_role.py +0 -48
  651. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_delete_role.py +0 -29
  652. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_get_role.py +0 -24
  653. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_get_roles.py +0 -32
  654. python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_modify_role.py +0 -58
  655. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/__init__.py +0 -58
  656. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py +0 -22
  657. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py +0 -45
  658. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py +0 -55
  659. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py +0 -29
  660. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py +0 -30
  661. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py +0 -39
  662. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py +0 -25
  663. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py +0 -90
  664. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py +0 -37
  665. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py +0 -137
  666. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py +0 -43
  667. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py +0 -244
  668. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py +0 -37
  669. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +0 -94
  670. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +0 -113
  671. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +0 -75
  672. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py +0 -11
  673. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py +0 -22
  674. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py +0 -184
  675. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py +0 -29
  676. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py +0 -28
  677. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py +0 -43
  678. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py +0 -136
  679. python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py +0 -22
  680. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py +0 -22
  681. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py +0 -86
  682. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py +0 -29
  683. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py +0 -41
  684. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py +0 -43
  685. python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py +0 -69
  686. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py +0 -47
  687. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py +0 -31
  688. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py +0 -31
  689. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py +0 -45
  690. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py +0 -31
  691. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py +0 -45
  692. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py +0 -47
  693. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py +0 -31
  694. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_info.py +0 -75
  695. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py +0 -95
  696. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py +0 -51
  697. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py +0 -18
  698. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py +0 -32
  699. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py +0 -18
  700. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py +0 -119
  701. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py +0 -31
  702. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py +0 -45
  703. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py +0 -28
  704. python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py +0 -80
  705. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_clone_tag.py +0 -22
  706. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_create_tag.py +0 -259
  707. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_delete_tag.py +0 -29
  708. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_get_tag.py +0 -24
  709. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_get_tags.py +0 -41
  710. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_modify_tag.py +0 -187
  711. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_clone_target.py +0 -26
  712. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_create_target.py +0 -246
  713. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_delete_target.py +0 -29
  714. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_get_target.py +0 -41
  715. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_get_targets.py +0 -41
  716. python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_modify_target.py +0 -194
  717. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_clone_task.py +0 -22
  718. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py +0 -36
  719. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_create_task.py +0 -422
  720. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_delete_task.py +0 -29
  721. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_get_task.py +0 -22
  722. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py +0 -55
  723. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_modify_task.py +0 -200
  724. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_move_task.py +0 -27
  725. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_resume_task.py +0 -20
  726. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_start_task.py +0 -20
  727. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_stop_task.py +0 -20
  728. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_alerts.py +0 -48
  729. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_audits.py +0 -53
  730. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_credentials.py +0 -48
  731. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_filters.py +0 -38
  732. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_groups.py +0 -38
  733. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_hosts.py +0 -33
  734. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_notes.py +0 -38
  735. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_operating_systems.py +0 -36
  736. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_overrides.py +0 -44
  737. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_permissions.py +0 -48
  738. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_policies.py +0 -80
  739. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_port_lists.py +0 -58
  740. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_report_formats.py +0 -57
  741. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_reports.py +0 -28
  742. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_results.py +0 -15
  743. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_roles.py +0 -38
  744. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_scan_configs.py +0 -125
  745. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_scanners.py +0 -43
  746. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_schedules.py +0 -44
  747. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_secinfo.py +0 -117
  748. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_secinfo.py.rej +0 -7
  749. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tags.py +0 -38
  750. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_targets.py +0 -38
  751. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tasks.py +0 -65
  752. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tickets.py +0 -38
  753. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tls_certificates.py +0 -50
  754. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_users.py +0 -38
  755. python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_vulnerabilities.py +0 -22
  756. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py +0 -31
  757. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py +0 -60
  758. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py +0 -29
  759. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py +0 -28
  760. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py +0 -32
  761. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py +0 -100
  762. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py +0 -24
  763. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py +0 -43
  764. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py +0 -26
  765. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py +0 -23
  766. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py +0 -32
  767. python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py +0 -55
  768. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_clone_user.py +0 -22
  769. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_create_user.py +0 -101
  770. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_delete_user.py +0 -46
  771. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_get_user.py +0 -24
  772. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_get_users.py +0 -23
  773. python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_modify_user.py +0 -203
  774. python_gvm-24.3.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py +0 -23
  775. python_gvm-24.3.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py +0 -24
  776. python_gvm-24.3.0/tests/protocols/gmpv208/enums/__init__.py +0 -4
  777. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_aggregate_statistic.py +0 -61
  778. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_condition.py +0 -49
  779. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_event.py +0 -49
  780. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_method.py +0 -73
  781. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alive_test.py +0 -65
  782. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_credential_format.py +0 -45
  783. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_credential_type.py +0 -49
  784. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_entity_type.py +0 -166
  785. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_feed_type.py +0 -41
  786. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_filter_type.py +0 -138
  787. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_help_format.py +0 -41
  788. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_hosts_ordering.py +0 -33
  789. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_info_type.py +0 -53
  790. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_permission_subject_type.py +0 -37
  791. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_port_range_type.py +0 -33
  792. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_report_format_type.py +0 -101
  793. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_scanner_type.py +0 -60
  794. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_severity_level.py +0 -49
  795. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_snmp_algorithms.py +0 -49
  796. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_sort_order.py +0 -33
  797. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_ticket_status.py +0 -33
  798. python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_user_auth_type.py +0 -37
  799. python_gvm-24.3.0/tests/protocols/gmpv208/system/__init__.py +0 -4
  800. python_gvm-24.3.0/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py +0 -343
  801. python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_authenticate.py +0 -58
  802. python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_describe_auth.py +0 -11
  803. python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_modify_auth.py +0 -57
  804. python_gvm-24.3.0/tests/protocols/gmpv208/system/feed/test_get_feed.py +0 -52
  805. python_gvm-24.3.0/tests/protocols/gmpv208/system/feed/test_get_feeds.py +0 -11
  806. python_gvm-24.3.0/tests/protocols/gmpv208/system/help/test_help.py +0 -30
  807. python_gvm-24.3.0/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py +0 -65
  808. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_aggregates.py +0 -11
  809. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_authentication.py +0 -25
  810. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_feed.py +0 -15
  811. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_help.py +0 -11
  812. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_system_reports.py +0 -13
  813. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_trashcan.py +0 -17
  814. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_user_settings.py +0 -29
  815. python_gvm-24.3.0/tests/protocols/gmpv208/system/test_versions.py +0 -17
  816. python_gvm-24.3.0/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py +0 -11
  817. python_gvm-24.3.0/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py +0 -20
  818. python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py +0 -22
  819. python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py +0 -18
  820. python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py +0 -52
  821. python_gvm-24.3.0/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py +0 -9
  822. python_gvm-24.3.0/tests/protocols/gmpv208/system/versions/test_get_version.py +0 -14
  823. python_gvm-24.3.0/tests/protocols/gmpv208/test_gmp_types.py +0 -37
  824. python_gvm-24.3.0/tests/protocols/gmpv208/test_with_statement.py +0 -22
  825. python_gvm-24.3.0/tests/protocols/gmpv214/__init__.py +0 -13
  826. python_gvm-24.3.0/tests/protocols/gmpv214/entities/__init__.py +0 -4
  827. python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/__init__.py +0 -9
  828. python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/test_create_note.py +0 -167
  829. python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/test_modify_note.py +0 -159
  830. python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/__init__.py +0 -9
  831. python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/test_create_override.py +0 -214
  832. python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/test_modify_override.py +0 -212
  833. python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/__init__.py +0 -9
  834. python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py +0 -193
  835. python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py +0 -137
  836. python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/__init__.py +0 -9
  837. python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/test_create_target.py +0 -225
  838. python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/test_modify_target.py +0 -211
  839. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_alerts.py +0 -48
  840. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_audits.py +0 -53
  841. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_credentials.py +0 -48
  842. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_filters.py +0 -38
  843. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_groups.py +0 -38
  844. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_hosts.py +0 -33
  845. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_notes.py +0 -37
  846. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_operating_systems.py +0 -36
  847. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_overrides.py +0 -43
  848. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_permissions.py +0 -48
  849. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_policies.py +0 -80
  850. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_port_lists.py +0 -58
  851. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_report_formats.py +0 -57
  852. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_reports.py +0 -28
  853. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_results.py +0 -18
  854. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_roles.py +0 -38
  855. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_scan_configs.py +0 -111
  856. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_scanners.py +0 -37
  857. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_schedules.py +0 -44
  858. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_secinfo.py +0 -103
  859. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tags.py +0 -38
  860. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_targets.py +0 -37
  861. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tasks.py +0 -65
  862. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tickets.py +0 -38
  863. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tls_certificates.py +0 -50
  864. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_users.py +0 -38
  865. python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_vulnerabilities.py +0 -22
  866. python_gvm-24.3.0/tests/protocols/gmpv214/entities/users/__init__.py +0 -8
  867. python_gvm-24.3.0/tests/protocols/gmpv214/entities/users/test_modify_user.py +0 -185
  868. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_aggregate_statistic.py +0 -61
  869. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_condition.py +0 -49
  870. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_event.py +0 -49
  871. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_method.py +0 -73
  872. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alive_test.py +0 -65
  873. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_credential_format.py +0 -45
  874. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_credential_type.py +0 -49
  875. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_entity_type.py +0 -166
  876. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_feed_type.py +0 -41
  877. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_filter_type.py +0 -138
  878. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_help_format.py +0 -41
  879. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_hosts_ordering.py +0 -33
  880. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_info_type.py +0 -53
  881. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_permission_subject_type.py +0 -37
  882. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_port_range_type.py +0 -33
  883. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_report_format_type.py +0 -101
  884. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_scanner_type.py +0 -60
  885. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_severity_level.py +0 -45
  886. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_snmp_algorithms.py +0 -49
  887. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_sort_order.py +0 -33
  888. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_ticket_status.py +0 -33
  889. python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_user_auth_type.py +0 -37
  890. python_gvm-24.3.0/tests/protocols/gmpv214/system/__init__.py +0 -4
  891. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_aggregates.py +0 -11
  892. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_authentication.py +0 -25
  893. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_feed.py +0 -15
  894. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_help.py +0 -11
  895. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_system_reports.py +0 -13
  896. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_trashcan.py +0 -20
  897. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_user_settings.py +0 -29
  898. python_gvm-24.3.0/tests/protocols/gmpv214/system/test_versions.py +0 -18
  899. python_gvm-24.3.0/tests/protocols/gmpv214/system/versions/__init__.py +0 -8
  900. python_gvm-24.3.0/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py +0 -9
  901. python_gvm-24.3.0/tests/protocols/gmpv214/test_gmp_types.py +0 -37
  902. python_gvm-24.3.0/tests/protocols/gmpv214/test_with_statement.py +0 -22
  903. python_gvm-24.3.0/tests/protocols/gmpv224/__init__.py +0 -13
  904. python_gvm-24.3.0/tests/protocols/gmpv224/entities/__init__.py +0 -4
  905. python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/__init__.py +0 -9
  906. python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/test_create_note.py +0 -167
  907. python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/test_modify_note.py +0 -159
  908. python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/__init__.py +0 -9
  909. python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/test_create_override.py +0 -214
  910. python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/test_modify_override.py +0 -207
  911. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/__init__.py +0 -52
  912. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py +0 -22
  913. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py +0 -45
  914. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py +0 -29
  915. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py +0 -30
  916. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py +0 -39
  917. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py +0 -25
  918. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py +0 -90
  919. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py +0 -37
  920. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py +0 -137
  921. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py +0 -43
  922. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py +0 -244
  923. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py +0 -37
  924. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +0 -94
  925. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +0 -113
  926. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +0 -75
  927. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/__init__.py +0 -9
  928. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py +0 -193
  929. python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py +0 -127
  930. python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/__init__.py +0 -9
  931. python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/test_create_target.py +0 -225
  932. python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/test_modify_target.py +0 -211
  933. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_alerts.py +0 -48
  934. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_audits.py +0 -53
  935. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_credentials.py +0 -48
  936. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_filters.py +0 -38
  937. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_groups.py +0 -38
  938. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_hosts.py +0 -33
  939. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_notes.py +0 -37
  940. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_operating_systems.py +0 -36
  941. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_overrides.py +0 -43
  942. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_permissions.py +0 -48
  943. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_policies.py +0 -80
  944. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_port_lists.py +0 -58
  945. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_report_formats.py +0 -57
  946. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_reports.py +0 -28
  947. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_results.py +0 -18
  948. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_roles.py +0 -38
  949. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_scan_configs.py +0 -97
  950. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_scanners.py +0 -37
  951. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_schedules.py +0 -44
  952. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_secinfo.py +0 -103
  953. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tags.py +0 -38
  954. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_targets.py +0 -37
  955. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tasks.py +0 -65
  956. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tickets.py +0 -38
  957. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tls_certificates.py +0 -50
  958. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_users.py +0 -37
  959. python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_vulnerabilities.py +0 -22
  960. python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/__init__.py +0 -9
  961. python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/test_create_user.py +0 -110
  962. python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/test_modify_user.py +0 -188
  963. python_gvm-24.3.0/tests/protocols/gmpv224/enums/__init__.py +0 -4
  964. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_aggregate_statistic.py +0 -61
  965. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_condition.py +0 -49
  966. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_event.py +0 -49
  967. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_method.py +0 -73
  968. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alive_test.py +0 -65
  969. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_credential_format.py +0 -45
  970. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_credential_type.py +0 -49
  971. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_entity_type.py +0 -166
  972. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_feed_type.py +0 -41
  973. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_filter_type.py +0 -138
  974. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_help_format.py +0 -41
  975. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_hosts_ordering.py +0 -33
  976. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_info_type.py +0 -53
  977. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_permission_subject_type.py +0 -37
  978. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_port_range_type.py +0 -33
  979. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_report_format_type.py +0 -101
  980. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_scanner_type.py +0 -53
  981. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_severity_level.py +0 -45
  982. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_snmp_algorithms.py +0 -49
  983. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_sort_order.py +0 -33
  984. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_ticket_status.py +0 -33
  985. python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_user_auth_type.py +0 -37
  986. python_gvm-24.3.0/tests/protocols/gmpv224/system/__init__.py +0 -4
  987. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_aggregates.py +0 -11
  988. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_authentication.py +0 -25
  989. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_feed.py +0 -15
  990. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_help.py +0 -11
  991. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_system_reports.py +0 -13
  992. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_trashcan.py +0 -20
  993. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_user_settings.py +0 -29
  994. python_gvm-24.3.0/tests/protocols/gmpv224/system/test_versions.py +0 -18
  995. python_gvm-24.3.0/tests/protocols/gmpv224/system/versions/__init__.py +0 -8
  996. python_gvm-24.3.0/tests/protocols/gmpv224/test_gmp_types.py +0 -37
  997. python_gvm-24.3.0/tests/protocols/gmpv225/__init__.py +0 -13
  998. python_gvm-24.3.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py +0 -238
  999. python_gvm-24.3.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py +0 -194
  1000. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_alerts.py +0 -48
  1001. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_audits.py +0 -53
  1002. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_credentials.py +0 -48
  1003. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_filters.py +0 -38
  1004. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_groups.py +0 -38
  1005. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_hosts.py +0 -33
  1006. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_notes.py +0 -40
  1007. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_operating_systems.py +0 -36
  1008. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_overrides.py +0 -46
  1009. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_permissions.py +0 -48
  1010. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_policies.py +0 -80
  1011. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_port_lists.py +0 -58
  1012. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_report_formats.py +0 -57
  1013. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_reports.py +0 -28
  1014. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_results.py +0 -18
  1015. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_roles.py +0 -38
  1016. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_scan_configs.py +0 -97
  1017. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_scanners.py +0 -40
  1018. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_schedules.py +0 -44
  1019. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_secinfo.py +0 -103
  1020. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tags.py +0 -38
  1021. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_targets.py +0 -40
  1022. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tasks.py +0 -65
  1023. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tickets.py +0 -38
  1024. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tls_certificates.py +0 -50
  1025. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_users.py +0 -117
  1026. python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_vulnerabilities.py +0 -22
  1027. python_gvm-24.3.0/tests/protocols/gmpv225/enums/__init__.py +0 -4
  1028. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_aggregate_statistic.py +0 -61
  1029. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_condition.py +0 -49
  1030. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_event.py +0 -49
  1031. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_method.py +0 -73
  1032. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alive_test.py +0 -65
  1033. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_credential_format.py +0 -45
  1034. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_credential_type.py +0 -49
  1035. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_entity_type.py +0 -166
  1036. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_feed_type.py +0 -41
  1037. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_filter_type.py +0 -138
  1038. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_help_format.py +0 -41
  1039. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_hosts_ordering.py +0 -33
  1040. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_info_type copy.py +0 -53
  1041. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_permission_subject_type.py +0 -37
  1042. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_port_range_type.py +0 -33
  1043. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_report_format_type.py +0 -101
  1044. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_resource_type.py +0 -133
  1045. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_scanner_type.py +0 -53
  1046. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_severity_level.py +0 -45
  1047. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_snmp_algorithms.py +0 -49
  1048. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_sort_order.py +0 -33
  1049. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_ticket_status.py +0 -33
  1050. python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_user_auth_type.py +0 -37
  1051. python_gvm-24.3.0/tests/protocols/gmpv225/system/__init__.py +0 -4
  1052. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_aggregates.py +0 -11
  1053. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_authentication.py +0 -25
  1054. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_feed.py +0 -15
  1055. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_help.py +0 -11
  1056. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_system_reports.py +0 -13
  1057. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_trashcan.py +0 -20
  1058. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_user_settings.py +0 -29
  1059. python_gvm-24.3.0/tests/protocols/gmpv225/system/test_versions.py +0 -18
  1060. python_gvm-24.3.0/tests/protocols/gmpv225/test_gmp_types.py +0 -37
  1061. python_gvm-24.3.0/tests/protocols/osp/test_osp_delete_scan.py +0 -31
  1062. python_gvm-24.3.0/tests/protocols/osp/test_osp_get_scanner_details.py +0 -25
  1063. python_gvm-24.3.0/tests/protocols/osp/test_osp_get_scans.py +0 -34
  1064. python_gvm-24.3.0/tests/protocols/osp/test_osp_get_version.py +0 -25
  1065. python_gvm-24.3.0/tests/protocols/osp/test_osp_get_vts.py +0 -32
  1066. python_gvm-24.3.0/tests/protocols/osp/test_osp_help.py +0 -25
  1067. python_gvm-24.3.0/tests/protocols/osp/test_osp_start_scan.py +0 -89
  1068. python_gvm-24.3.0/tests/protocols/osp/test_osp_stop_scan.py +0 -35
  1069. python_gvm-24.3.0/tests/test_errors.py +0 -214
  1070. python_gvm-24.3.0/tests/transforms/test_check_command_transform.py +0 -65
  1071. python_gvm-24.3.0/tests/transforms/test_etree_check_command_transform.py +0 -45
  1072. python_gvm-24.3.0/tests/transforms/test_etree_transform.py +0 -27
  1073. python_gvm-24.3.0/tests/utils/test_check_command_status.py +0 -62
  1074. python_gvm-24.3.0/tests/utils/test_to_base64.py +0 -21
  1075. python_gvm-24.3.0/tests/xml/test_pretty_print.py +0 -170
  1076. python_gvm-24.3.0/tests/xml/test_valid_xml_string.py +0 -32
  1077. {python_gvm-24.3.0 → python_gvm-24.7.0}/LICENSE +0 -0
  1078. {python_gvm-24.3.0 → python_gvm-24.7.0}/gvm/__init__.py +0 -0
  1079. /python_gvm-24.3.0/gvm/protocols/gmpv208/entities/severity.py → /python_gvm-24.7.0/gvm/protocols/gmp/requests/v224/_severity.py +0 -0
  1080. {python_gvm-24.3.0 → python_gvm-24.7.0}/gvm/py.typed +0 -0
  1081. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/__init__.py +0 -0
  1082. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/connections/__init__.py +0 -0
  1083. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmp/__init__.py +0 -0
  1084. {python_gvm-24.3.0/gvm/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/__init__.py +0 -0
  1085. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/alerts/__init__.py +0 -0
  1086. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/audits/__init__.py +0 -0
  1087. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/credentials/__init__.py +0 -0
  1088. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/filters/__init__.py +0 -0
  1089. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/groups/__init__.py +0 -0
  1090. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/hosts/__init__.py +0 -0
  1091. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/notes/__init__.py +0 -0
  1092. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/operating_systems/__init__.py +0 -0
  1093. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/overrides/__init__.py +0 -0
  1094. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/permissions/__init__.py +0 -0
  1095. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/policies/__init__.py +0 -0
  1096. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/port_lists/__init__.py +0 -0
  1097. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/report_formats/__init__.py +0 -0
  1098. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/reports/__init__.py +0 -0
  1099. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/results/__init__.py +0 -0
  1100. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/roles/__init__.py +0 -0
  1101. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/scanners/__init__.py +0 -0
  1102. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/schedules/__init__.py +0 -0
  1103. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/secinfo/__init__.py +0 -0
  1104. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/tags/__init__.py +0 -0
  1105. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/targets/__init__.py +0 -0
  1106. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/tasks/__init__.py +0 -0
  1107. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/tickets/__init__.py +0 -0
  1108. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/tls_certificates/__init__.py +0 -0
  1109. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/users/__init__.py +0 -0
  1110. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/entities/vulnerabilities/__init__.py +0 -0
  1111. {python_gvm-24.3.0/tests/protocols/gmpv214 → python_gvm-24.7.0/tests/protocols/gmpv224}/enums/__init__.py +0 -0
  1112. {python_gvm-24.3.0/gvm/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/__init__.py +0 -0
  1113. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/aggregates/__init__.py +0 -0
  1114. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/authentication/__init__.py +0 -0
  1115. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/feed/__init__.py +0 -0
  1116. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/help/__init__.py +0 -0
  1117. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/system_reports/__init__.py +0 -0
  1118. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/trashcan/__init__.py +0 -0
  1119. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/user_settings/__init__.py +0 -0
  1120. {python_gvm-24.3.0/tests/protocols/gmpv208 → python_gvm-24.7.0/tests/protocols/gmpv224}/system/versions/__init__.py +0 -0
  1121. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py +0 -0
  1122. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv224/test_with_statement.py +0 -0
  1123. {python_gvm-24.3.0/gvm → python_gvm-24.7.0/tests}/protocols/gmpv225/entities/__init__.py +0 -0
  1124. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv225/entities/resourcenames/__init__.py +0 -0
  1125. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv225/entities/test_resource_names.py +0 -0
  1126. {python_gvm-24.3.0/gvm/protocols/gmpv225/system → python_gvm-24.7.0/tests/protocols/gmpv225/enums}/__init__.py +0 -0
  1127. {python_gvm-24.3.0/tests/protocols/gmpv225/entities → python_gvm-24.7.0/tests/protocols/gmpv225/system}/__init__.py +0 -0
  1128. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv225/system/versions/__init__.py +0 -0
  1129. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py +0 -0
  1130. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/gmpv225/test_with_statement.py +0 -0
  1131. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/osp/__init__.py +0 -0
  1132. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/test_latest.py +0 -0
  1133. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/protocols/test_next.py +0 -0
  1134. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/transforms/__init__.py +0 -0
  1135. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/__init__.py +0 -0
  1136. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_add_filter.py +0 -0
  1137. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_check_port.py +0 -0
  1138. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_deprecation.py +0 -0
  1139. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_is_list_like.py +0 -0
  1140. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_to_bool.py +0 -0
  1141. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/utils/test_to_comma_list.py +0 -0
  1142. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/xml/__init__.py +0 -0
  1143. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/xml/test.file +0 -0
  1144. {python_gvm-24.3.0 → python_gvm-24.7.0}/tests/xml/test_xml_command.py +0 -0
@@ -0,0 +1,169 @@
1
+ Metadata-Version: 2.1
2
+ Name: python-gvm
3
+ Version: 24.7.0
4
+ Summary: Library to communicate with remote servers over GMP or OSP
5
+ Home-page: https://github.com/greenbone/python-gvm/
6
+ License: GPL-3.0-or-later
7
+ Author: Greenbone AG
8
+ Author-email: info@greenbone.net
9
+ Requires-Python: >=3.9,<4.0
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Requires-Dist: lxml (>=4.5.0)
22
+ Requires-Dist: paramiko (>=2.7.1)
23
+ Project-URL: Documentation, https://greenbone.github.io/python-gvm/
24
+ Project-URL: Repository, https://github.com/greenbone/python-gvm/
25
+ Description-Content-Type: text/markdown
26
+
27
+ ![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)
28
+
29
+ # Greenbone Vulnerability Management Python Library <!-- omit in toc -->
30
+
31
+ [![GitHub releases](https://img.shields.io/github/release-pre/greenbone/python-gvm.svg)](https://github.com/greenbone/python-gvm/releases)
32
+ [![PyPI release](https://img.shields.io/pypi/v/python-gvm.svg)](https://pypi.org/project/python-gvm/)
33
+ [![code test coverage](https://codecov.io/gh/greenbone/python-gvm/branch/main/graph/badge.svg)](https://codecov.io/gh/greenbone/python-gvm)
34
+ [![Build and test](https://github.com/greenbone/python-gvm/actions/workflows/ci.yml/badge.svg)](https://github.com/greenbone/python-gvm/actions/workflows/ci.yml)
35
+
36
+ The Greenbone Vulnerability Management Python API library (**python-gvm**) is a
37
+ collection of APIs that help with remote controlling Greenbone Community Edition
38
+ installations and Greenbone Enterprise Appliances. The library essentially
39
+ abstracts accessing the communication protocols Greenbone Management Protocol
40
+ (GMP) and Open Scanner Protocol (OSP).
41
+
42
+ ## Table of Contents <!-- omit in toc -->
43
+
44
+ - [Documentation](#documentation)
45
+ - [Installation](#installation)
46
+ - [Version](#version)
47
+ - [Requirements](#requirements)
48
+ - [Install using pip](#install-using-pip)
49
+ - [Example](#example)
50
+ - [Support](#support)
51
+ - [Maintainer](#maintainer)
52
+ - [Contributing](#contributing)
53
+ - [License](#license)
54
+
55
+ ## Documentation
56
+
57
+ The documentation for python-gvm can be found at
58
+ [https://greenbone.github.io/python-gvm/](https://greenbone.github.io/python-gvm/).
59
+ Please always take a look at the documentation for further details. This
60
+ **README** just gives you a short overview.
61
+
62
+ ## Installation
63
+
64
+ ### Version
65
+
66
+ Please consider to always use the **newest** version of `gvm-tools` and `python-gvm`.
67
+ We frequently update this projects to add features and keep them free from bugs.
68
+ This is why installing `python-gvm` using pip is recommended.
69
+
70
+ > [!IMPORTANT]
71
+ > To use `python-gvm` with GMP version of 7, 8 or 9 you must use a release version
72
+ > that is `<21.5`. In the `21.5` release the support of these versions has been
73
+ > dropped.
74
+
75
+ > [!IMPORTANT]
76
+ > To use `python-gvm` with GMP version 20.8 or 21.4 you must use a release version
77
+ > that is `<24.6`. In the `24.6` release the support of these versions has been
78
+ > dropped.
79
+
80
+ ### Requirements
81
+
82
+ Python 3.9 and later is supported.
83
+
84
+ ### Install using pip
85
+
86
+ You can install the latest stable release of python-gvm from the Python Package
87
+ Index using [pip](https://pip.pypa.io/):
88
+
89
+ python3 -m pip install --user python-gvm
90
+
91
+ ## Example
92
+
93
+ ```python3
94
+ from gvm.connections import UnixSocketConnection
95
+ from gvm.protocols.gmp import Gmp
96
+ from gvm.transforms import EtreeTransform
97
+ from gvm.xml import pretty_print
98
+
99
+ connection = UnixSocketConnection()
100
+ transform = EtreeTransform()
101
+
102
+ with Gmp(connection, transform=transform) as gmp:
103
+ # Retrieve GMP version supported by the remote daemon
104
+ version = gmp.get_version()
105
+
106
+ # Prints the XML in beautiful form
107
+ pretty_print(version)
108
+
109
+ # Login
110
+ gmp.authenticate('foo', 'bar')
111
+
112
+ # Retrieve all tasks
113
+ tasks = gmp.get_tasks()
114
+
115
+ # Get names of tasks
116
+ task_names = tasks.xpath('task/name/text()')
117
+ pretty_print(task_names)
118
+ ```
119
+
120
+ ## Support
121
+
122
+ For any question on the usage of python-gvm please use the
123
+ [Greenbone Community Forum](https://forum.greenbone.net/c/building-from-source-under-the-hood/gmp/11). If you
124
+ found a problem with the software, please
125
+ [create an issue](https://github.com/greenbone/python-gvm/issues)
126
+ on GitHub.
127
+
128
+ ## Maintainer
129
+
130
+ This project is maintained by [Greenbone AG](https://www.greenbone.net/).
131
+
132
+ ## Contributing
133
+
134
+ Your contributions are highly appreciated. Please
135
+ [create a pull request](https://github.com/greenbone/python-gvm/pulls) on GitHub.
136
+ For bigger changes, please discuss it first in the
137
+ [issues](https://github.com/greenbone/python-gvm/issues).
138
+
139
+ For development you should use [poetry](https://python-poetry.org)
140
+ to keep you python packages separated in different environments. First install
141
+ poetry via pip
142
+
143
+ ```shell
144
+ python3 -m pip install --user poetry
145
+ ```
146
+
147
+ Afterwards run
148
+
149
+ ```shell
150
+ poetry install
151
+ ```
152
+
153
+ in the checkout directory of python-gvm (the directory containing the
154
+ `pyproject.toml` file) to install all dependencies including the packages only
155
+ required for development.
156
+
157
+ The python-gvm repository uses [autohooks](https://github.com/greenbone/autohooks)
158
+ to apply linting and auto formatting via git hooks. Please ensure the git hooks
159
+ are active.
160
+
161
+ $ poetry install
162
+ $ poetry run autohooks activate --force
163
+
164
+ ## License
165
+
166
+ Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/)
167
+
168
+ Licensed under the [GNU General Public License v3.0 or later](LICENSE).
169
+
@@ -0,0 +1,142 @@
1
+ ![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)
2
+
3
+ # Greenbone Vulnerability Management Python Library <!-- omit in toc -->
4
+
5
+ [![GitHub releases](https://img.shields.io/github/release-pre/greenbone/python-gvm.svg)](https://github.com/greenbone/python-gvm/releases)
6
+ [![PyPI release](https://img.shields.io/pypi/v/python-gvm.svg)](https://pypi.org/project/python-gvm/)
7
+ [![code test coverage](https://codecov.io/gh/greenbone/python-gvm/branch/main/graph/badge.svg)](https://codecov.io/gh/greenbone/python-gvm)
8
+ [![Build and test](https://github.com/greenbone/python-gvm/actions/workflows/ci.yml/badge.svg)](https://github.com/greenbone/python-gvm/actions/workflows/ci.yml)
9
+
10
+ The Greenbone Vulnerability Management Python API library (**python-gvm**) is a
11
+ collection of APIs that help with remote controlling Greenbone Community Edition
12
+ installations and Greenbone Enterprise Appliances. The library essentially
13
+ abstracts accessing the communication protocols Greenbone Management Protocol
14
+ (GMP) and Open Scanner Protocol (OSP).
15
+
16
+ ## Table of Contents <!-- omit in toc -->
17
+
18
+ - [Documentation](#documentation)
19
+ - [Installation](#installation)
20
+ - [Version](#version)
21
+ - [Requirements](#requirements)
22
+ - [Install using pip](#install-using-pip)
23
+ - [Example](#example)
24
+ - [Support](#support)
25
+ - [Maintainer](#maintainer)
26
+ - [Contributing](#contributing)
27
+ - [License](#license)
28
+
29
+ ## Documentation
30
+
31
+ The documentation for python-gvm can be found at
32
+ [https://greenbone.github.io/python-gvm/](https://greenbone.github.io/python-gvm/).
33
+ Please always take a look at the documentation for further details. This
34
+ **README** just gives you a short overview.
35
+
36
+ ## Installation
37
+
38
+ ### Version
39
+
40
+ Please consider to always use the **newest** version of `gvm-tools` and `python-gvm`.
41
+ We frequently update this projects to add features and keep them free from bugs.
42
+ This is why installing `python-gvm` using pip is recommended.
43
+
44
+ > [!IMPORTANT]
45
+ > To use `python-gvm` with GMP version of 7, 8 or 9 you must use a release version
46
+ > that is `<21.5`. In the `21.5` release the support of these versions has been
47
+ > dropped.
48
+
49
+ > [!IMPORTANT]
50
+ > To use `python-gvm` with GMP version 20.8 or 21.4 you must use a release version
51
+ > that is `<24.6`. In the `24.6` release the support of these versions has been
52
+ > dropped.
53
+
54
+ ### Requirements
55
+
56
+ Python 3.9 and later is supported.
57
+
58
+ ### Install using pip
59
+
60
+ You can install the latest stable release of python-gvm from the Python Package
61
+ Index using [pip](https://pip.pypa.io/):
62
+
63
+ python3 -m pip install --user python-gvm
64
+
65
+ ## Example
66
+
67
+ ```python3
68
+ from gvm.connections import UnixSocketConnection
69
+ from gvm.protocols.gmp import Gmp
70
+ from gvm.transforms import EtreeTransform
71
+ from gvm.xml import pretty_print
72
+
73
+ connection = UnixSocketConnection()
74
+ transform = EtreeTransform()
75
+
76
+ with Gmp(connection, transform=transform) as gmp:
77
+ # Retrieve GMP version supported by the remote daemon
78
+ version = gmp.get_version()
79
+
80
+ # Prints the XML in beautiful form
81
+ pretty_print(version)
82
+
83
+ # Login
84
+ gmp.authenticate('foo', 'bar')
85
+
86
+ # Retrieve all tasks
87
+ tasks = gmp.get_tasks()
88
+
89
+ # Get names of tasks
90
+ task_names = tasks.xpath('task/name/text()')
91
+ pretty_print(task_names)
92
+ ```
93
+
94
+ ## Support
95
+
96
+ For any question on the usage of python-gvm please use the
97
+ [Greenbone Community Forum](https://forum.greenbone.net/c/building-from-source-under-the-hood/gmp/11). If you
98
+ found a problem with the software, please
99
+ [create an issue](https://github.com/greenbone/python-gvm/issues)
100
+ on GitHub.
101
+
102
+ ## Maintainer
103
+
104
+ This project is maintained by [Greenbone AG](https://www.greenbone.net/).
105
+
106
+ ## Contributing
107
+
108
+ Your contributions are highly appreciated. Please
109
+ [create a pull request](https://github.com/greenbone/python-gvm/pulls) on GitHub.
110
+ For bigger changes, please discuss it first in the
111
+ [issues](https://github.com/greenbone/python-gvm/issues).
112
+
113
+ For development you should use [poetry](https://python-poetry.org)
114
+ to keep you python packages separated in different environments. First install
115
+ poetry via pip
116
+
117
+ ```shell
118
+ python3 -m pip install --user poetry
119
+ ```
120
+
121
+ Afterwards run
122
+
123
+ ```shell
124
+ poetry install
125
+ ```
126
+
127
+ in the checkout directory of python-gvm (the directory containing the
128
+ `pyproject.toml` file) to install all dependencies including the packages only
129
+ required for development.
130
+
131
+ The python-gvm repository uses [autohooks](https://github.com/greenbone/autohooks)
132
+ to apply linting and auto formatting via git hooks. Please ensure the git hooks
133
+ are active.
134
+
135
+ $ poetry install
136
+ $ poetry run autohooks activate --force
137
+
138
+ ## License
139
+
140
+ Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/)
141
+
142
+ Licensed under the [GNU General Public License v3.0 or later](LICENSE).
@@ -0,0 +1,5 @@
1
+ # pylint: disable=invalid-name
2
+
3
+ # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
4
+
5
+ __version__ = "24.7.0"
@@ -0,0 +1,47 @@
1
+ # SPDX-FileCopyrightText: 2024 Greenbone AG
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+ #
5
+
6
+ from enum import Enum as PythonEnum
7
+ from typing import Any, Optional, Type, TypeVar
8
+
9
+ from gvm.errors import InvalidArgument
10
+
11
+ Self = TypeVar("Self", bound="Enum")
12
+
13
+
14
+ class Enum(PythonEnum):
15
+ """
16
+ Base class for Enums in python-gvm
17
+ """
18
+
19
+ @classmethod
20
+ def _missing_(cls: Type[Self], value: Any) -> Optional[Self]:
21
+ if isinstance(value, PythonEnum):
22
+ return cls.from_string(value.name)
23
+ return cls.from_string(str(value) if value else None)
24
+
25
+ @classmethod
26
+ def from_string(
27
+ cls: Type[Self],
28
+ value: Optional[str],
29
+ ) -> Optional[Self]:
30
+ """
31
+ Convert a string value into an Enum instance
32
+
33
+ If value is None or empty None is returned
34
+ """
35
+ if not value:
36
+ return None
37
+
38
+ try:
39
+ return cls[value.replace(" ", "_").upper()]
40
+ except KeyError:
41
+ raise InvalidArgument(
42
+ f"Invalid argument {value}. "
43
+ f"Allowed values are {','.join(e.name for e in cls)}."
44
+ ) from None
45
+
46
+ def __str__(self) -> str:
47
+ return self.value
@@ -0,0 +1,32 @@
1
+ # SPDX-FileCopyrightText: 2024 Greenbone AG
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+
5
+ from ._connection import DEFAULT_TIMEOUT, GvmConnection
6
+ from ._debug import DebugConnection
7
+ from ._ssh import (
8
+ DEFAULT_HOSTNAME,
9
+ DEFAULT_KNOWN_HOSTS_FILE,
10
+ DEFAULT_SSH_PASSWORD,
11
+ DEFAULT_SSH_PORT,
12
+ DEFAULT_SSH_USERNAME,
13
+ SSHConnection,
14
+ )
15
+ from ._tls import DEFAULT_GVM_PORT, TLSConnection
16
+ from ._unix import DEFAULT_UNIX_SOCKET_PATH, UnixSocketConnection
17
+
18
+ __all__ = (
19
+ "DEFAULT_TIMEOUT",
20
+ "DEFAULT_UNIX_SOCKET_PATH",
21
+ "DEFAULT_GVM_PORT",
22
+ "DEFAULT_HOSTNAME",
23
+ "DEFAULT_KNOWN_HOSTS_FILE",
24
+ "DEFAULT_SSH_PASSWORD",
25
+ "DEFAULT_SSH_USERNAME",
26
+ "DEFAULT_SSH_PORT",
27
+ "DebugConnection",
28
+ "GvmConnection",
29
+ "SSHConnection",
30
+ "TLSConnection",
31
+ "UnixSocketConnection",
32
+ )
@@ -0,0 +1,124 @@
1
+ # SPDX-FileCopyrightText: 2024 Greenbone AG
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+
5
+ import logging
6
+ import socket as socketlib
7
+ from abc import ABC, abstractmethod
8
+ from time import time
9
+ from typing import Optional, Protocol, Union, runtime_checkable
10
+
11
+ from gvm.errors import GvmError
12
+
13
+ BUF_SIZE = 16 * 1024
14
+
15
+ DEFAULT_TIMEOUT = 60 # in seconds
16
+
17
+ logger = logging.getLogger(__name__)
18
+
19
+
20
+ @runtime_checkable
21
+ class GvmConnection(Protocol):
22
+ """
23
+ Python `protocol <https://docs.python.org/3/library/typing.html#typing.Protocol>`_
24
+ for GvmConnection classes.
25
+ """
26
+
27
+ def connect(self) -> None:
28
+ """Establish a connection to a remote server"""
29
+
30
+ def disconnect(self) -> None:
31
+ """Send data to the connected remote server
32
+
33
+ Arguments:
34
+ data: Data to be send to the server. Either utf-8 encoded string or
35
+ bytes.
36
+ """
37
+
38
+ def send(self, data: bytes) -> None:
39
+ """Send data to the connected remote server
40
+
41
+ Args:
42
+ data: Data to be send to the server as bytes.
43
+ """
44
+
45
+ def read(self) -> bytes:
46
+ """Read data from the remote server
47
+
48
+ Returns:
49
+ data as bytes
50
+ """
51
+
52
+ def finish_send(self):
53
+ """Indicate to the remote server you are done with sending data"""
54
+
55
+
56
+ class AbstractGvmConnection(ABC):
57
+ """
58
+ Base class for establishing a connection to a remote server daemon.
59
+
60
+ Arguments:
61
+ timeout: Timeout in seconds for the connection. None to
62
+ wait indefinitely
63
+ """
64
+
65
+ def __init__(self, timeout: Optional[Union[int, float]] = DEFAULT_TIMEOUT):
66
+ self._socket: Optional[socketlib.SocketType] = None
67
+ self._timeout = timeout if timeout is not None else DEFAULT_TIMEOUT
68
+
69
+ def _read(self) -> bytes:
70
+ if self._socket is None:
71
+ raise GvmError("Socket is not connected")
72
+
73
+ return self._socket.recv(BUF_SIZE)
74
+
75
+ @abstractmethod
76
+ def connect(self) -> None:
77
+ """Establish a connection to a remote server"""
78
+ raise NotImplementedError
79
+
80
+ def send(self, data: bytes) -> None:
81
+ """Send data to the connected remote server
82
+
83
+ Args:
84
+ data: Data to be send to the server as bytes.
85
+ """
86
+ if self._socket is None:
87
+ raise GvmError("Socket is not connected")
88
+
89
+ self._socket.sendall(data)
90
+
91
+ def read(self) -> bytes:
92
+ """Read data from the remote server
93
+
94
+ Returns:
95
+ data as bytes
96
+ """
97
+ break_timeout = (
98
+ time() + self._timeout if self._timeout is not None else None
99
+ )
100
+
101
+ data = self._read()
102
+
103
+ if not data:
104
+ # Connection was closed by server
105
+ raise GvmError("Remote closed the connection")
106
+
107
+ if break_timeout and time() > break_timeout:
108
+ raise GvmError("Timeout while reading the response")
109
+
110
+ return data
111
+
112
+ def disconnect(self) -> None:
113
+ """Disconnect and close the connection to the remote server"""
114
+ try:
115
+ if self._socket is not None:
116
+ self._socket.close()
117
+ except OSError as e:
118
+ logger.debug("Connection closing error: %s", e)
119
+
120
+ def finish_send(self):
121
+ """Indicate to the remote server you are done with sending data"""
122
+ if self._socket is not None:
123
+ # shutdown socket for sending. only allow reading data afterwards
124
+ self._socket.shutdown(socketlib.SHUT_WR)
@@ -0,0 +1,74 @@
1
+ # SPDX-FileCopyrightText: 2024 Greenbone AG
2
+ #
3
+ # SPDX-License-Identifier: GPL-3.0-or-later
4
+
5
+ import logging
6
+
7
+ from ._connection import GvmConnection
8
+
9
+ logger = logging.getLogger("gvm.connections.debug")
10
+
11
+
12
+ class DebugConnection:
13
+ """Wrapper around a connection for debugging purposes
14
+
15
+ Allows to debug the connection flow including send and read data. Internally
16
+ it uses the python `logging`_ framework to create debug messages. Please
17
+ take a look at `the logging tutorial
18
+ <https://docs.python.org/3/howto/logging.html#logging-basic-tutorial>`_
19
+ for further details.
20
+
21
+ Example:
22
+
23
+ .. code-block:: python
24
+
25
+ import logging
26
+
27
+ logging.basicConfig(level=logging.DEBUG)
28
+
29
+ socket_connection = UnixSocketConnection(path='/var/run/gvm.sock')
30
+ connection = DebugConnection(socket_connection)
31
+ gmp = Gmp(connection=connection)
32
+
33
+ .. _logging:
34
+ https://docs.python.org/3/library/logging.html
35
+ """
36
+
37
+ def __init__(self, connection: GvmConnection):
38
+ """
39
+ Create a new DebugConnection instance.
40
+
41
+ Args:
42
+ connection: GvmConnection to observe
43
+ """
44
+ self._connection = connection
45
+
46
+ def read(self) -> bytes:
47
+ data = self._connection.read()
48
+
49
+ logger.debug("Read %s characters. Data %r", len(data), data)
50
+
51
+ self.last_read_data = data
52
+ return data
53
+
54
+ def send(self, data: bytes) -> None:
55
+ self.last_send_data = data
56
+
57
+ logger.debug("Sending %s characters. Data %r", len(data), data)
58
+
59
+ return self._connection.send(data)
60
+
61
+ def connect(self) -> None:
62
+ logger.debug("Connecting")
63
+
64
+ return self._connection.connect()
65
+
66
+ def disconnect(self) -> None:
67
+ logger.debug("Disconnecting")
68
+
69
+ return self._connection.disconnect()
70
+
71
+ def finish_send(self) -> None:
72
+ logger.debug("Finish send")
73
+
74
+ self._connection.finish_send()