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