python-gvm 23.12.0__tar.gz → 24.3.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.
- python_gvm-24.3.0/PKG-INFO +164 -0
- python_gvm-24.3.0/README.md +135 -0
- python_gvm-24.3.0/gvm/__init__.py +21 -0
- python_gvm-24.3.0/gvm/__version__.py +5 -0
- python_gvm-24.3.0/gvm/_enum.py +38 -0
- python_gvm-24.3.0/gvm/connections.py +636 -0
- python_gvm-24.3.0/gvm/errors.py +187 -0
- python_gvm-24.3.0/gvm/protocols/__init__.py +22 -0
- python_gvm-24.3.0/gvm/protocols/base.py +129 -0
- python_gvm-24.3.0/gvm/protocols/gmp.py +119 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/__init__.py +183 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/alerts.py +518 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/audits.py +437 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/credentials.py +532 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/entities.py +68 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/filter.py +256 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/groups.py +173 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/hosts.py +143 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/notes.py +264 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/operating_systems.py +117 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/overrides.py +299 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/permissions.py +281 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/policies.py +429 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/port_lists.py +260 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/report_formats.py +279 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/reports.py +179 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/results.py +75 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/roles.py +166 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/scan_configs.py +626 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/scanners.py +317 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/schedules.py +234 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/secinfo.py +620 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/severity.py +21 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tags.py +273 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/targets.py +370 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tasks.py +489 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tickets.py +217 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/tls_certificates.py +195 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/users.py +278 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/entities/vulnerabilities.py +51 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/aggregates.py +198 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/authentication.py +101 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/feed.py +55 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/help.py +57 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/system_reports.py +66 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/trashcan.py +42 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/user_settings.py +87 -0
- python_gvm-24.3.0/gvm/protocols/gmpv208/system/version.py +31 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/__init__.py +187 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/notes.py +167 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/overrides.py +196 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/scanners.py +204 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/targets.py +245 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/entities/users.py +110 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/system/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv214/system/version.py +23 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/__init__.py +189 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/entities/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/entities/scan_configs.py +582 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/entities/scanners.py +201 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/entities/users.py +176 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/system/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv224/system/version.py +23 -0
- python_gvm-24.3.0/gvm/protocols/gmpv225/__init__.py +197 -0
- python_gvm-24.3.0/gvm/protocols/gmpv225/entities/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv225/entities/resourcenames.py +126 -0
- python_gvm-24.3.0/gvm/protocols/gmpv225/system/__init__.py +4 -0
- python_gvm-24.3.0/gvm/protocols/gmpv225/system/version.py +22 -0
- python_gvm-24.3.0/gvm/protocols/latest.py +80 -0
- python_gvm-24.3.0/gvm/protocols/next.py +80 -0
- python_gvm-24.3.0/gvm/protocols/ospv1.py +277 -0
- python_gvm-24.3.0/gvm/transforms.py +68 -0
- python_gvm-24.3.0/gvm/utils.py +100 -0
- python_gvm-24.3.0/gvm/xml.py +138 -0
- python_gvm-24.3.0/pyproject.toml +77 -0
- python_gvm-24.3.0/tests/__init__.py +52 -0
- python_gvm-24.3.0/tests/connections/__init__.py +4 -0
- python_gvm-24.3.0/tests/connections/test_gvm_connection.py +73 -0
- python_gvm-24.3.0/tests/connections/test_ssh_connection.py +500 -0
- python_gvm-24.3.0/tests/connections/test_tls_connection.py +69 -0
- python_gvm-24.3.0/tests/connections/test_unix_socket_connection.py +124 -0
- python_gvm-24.3.0/tests/protocols/__init__.py +27 -0
- python_gvm-24.3.0/tests/protocols/gmp/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmp/test_context_manager.py +144 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/__init__.py +12 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/__init__.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_create_alert.py +412 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_get_alert.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py +211 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_test_alert.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py +76 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/__init__.py +26 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_clone_audit.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_create_audit.py +422 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_delete_audit.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_get_audit.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_get_audits.py +55 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_modify_audit.py +202 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_resume_audit.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_start_audit.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/audits/test_stop_audit.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_create_credential.py +415 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_get_credential.py +88 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py +64 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py +200 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_clone_filter.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_create_filter.py +103 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_delete_filter.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_get_filter.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_get_filters.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/filters/test_modify_filter.py +66 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_clone_group.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_create_group.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_delete_group.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_get_group.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_get_groups.py +32 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/groups/test_modify_group.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/__init__.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_create_host.py +40 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_delete_host.py +19 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_get_host.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/hosts/test_modify_host.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_clone_note.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_create_note.py +175 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_delete_note.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_get_note.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_get_notes.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/notes/test_modify_note.py +169 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/__init__.py +16 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py +19 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py +39 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py +64 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_clone_override.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_create_override.py +230 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_delete_override.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_get_override.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py +47 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/overrides/test_modify_override.py +232 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_create_permission.py +174 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_get_permission.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py +204 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/__init__.py +40 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_clone_policy.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_create_policy.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_delete_policy.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_get_policies.py +90 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_get_policy.py +30 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_import_policy.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py +220 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py +94 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py +113 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py +71 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/__init__.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py +145 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/__init__.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py +34 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py +39 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py +77 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py +110 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/__init__.py +16 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_delete_report.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_get_report.py +81 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_get_reports.py +63 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/reports/test_import_report.py +74 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/results/__init__.py +12 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/results/test_get_result.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/results/test_get_results.py +63 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_clone_role.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_create_role.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_delete_role.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_get_role.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_get_roles.py +32 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/roles/test_modify_role.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/__init__.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py +55 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py +30 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py +39 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py +90 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py +137 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py +244 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +94 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +113 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +75 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/__init__.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py +184 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py +136 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py +86 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py +69 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/__init__.py +46 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py +47 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py +47 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_info.py +75 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py +95 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py +51 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py +32 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py +119 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py +80 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_clone_tag.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_create_tag.py +259 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_delete_tag.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_get_tag.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_get_tags.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tags/test_modify_tag.py +187 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_clone_target.py +26 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_create_target.py +246 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_delete_target.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_get_target.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_get_targets.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/targets/test_modify_target.py +194 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/__init__.py +30 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_clone_task.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py +36 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_create_task.py +422 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_delete_task.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_get_task.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py +55 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_modify_task.py +200 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_move_task.py +27 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_resume_task.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_start_task.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tasks/test_stop_task.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_alerts.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_audits.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_credentials.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_filters.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_groups.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_hosts.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_notes.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_operating_systems.py +36 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_overrides.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_permissions.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_policies.py +80 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_port_lists.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_report_formats.py +57 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_reports.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_results.py +15 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_roles.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_scan_configs.py +125 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_scanners.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_schedules.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_secinfo.py +117 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tags.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_targets.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tasks.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tickets.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_tls_certificates.py +50 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_users.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/test_vulnerabilities.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py +31 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py +32 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py +100 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py +26 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py +23 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py +32 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py +55 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/__init__.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_clone_user.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_create_user.py +101 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_delete_user.py +46 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_get_user.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_get_users.py +23 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/users/test_modify_user.py +203 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py +23 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py +24 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_aggregate_statistic.py +61 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_condition.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_event.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alert_method.py +73 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_alive_test.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_credential_format.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_credential_type.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_entity_type.py +166 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_feed_type.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_filter_type.py +138 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_help_format.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_hosts_ordering.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_info_type.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_permission_subject_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_port_range_type.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_report_format_type.py +101 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_scanner_type.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_severity_level.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_snmp_algorithms.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_sort_order.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_ticket_status.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/enums/test_user_auth_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/aggregates/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py +343 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/__init__.py +14 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_authenticate.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_describe_auth.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/authentication/test_modify_auth.py +57 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/feed/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/feed/test_get_feed.py +52 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/feed/test_get_feeds.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/help/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/help/test_help.py +30 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/system_reports/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_aggregates.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_authentication.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_feed.py +15 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_help.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_system_reports.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_trashcan.py +17 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_user_settings.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/test_versions.py +17 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/trashcan/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/__init__.py +14 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py +52 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/versions/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/system/versions/test_get_version.py +14 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/test_gmp_types.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv208/test_with_statement.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/__init__.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/test_create_note.py +167 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/notes/test_modify_note.py +159 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/test_create_override.py +214 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/overrides/test_modify_override.py +212 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py +193 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py +137 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/test_create_target.py +225 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/targets/test_modify_target.py +211 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_alerts.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_audits.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_credentials.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_filters.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_groups.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_hosts.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_notes.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_operating_systems.py +36 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_overrides.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_permissions.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_policies.py +80 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_port_lists.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_report_formats.py +57 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_reports.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_results.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_roles.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_scan_configs.py +111 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_scanners.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_schedules.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_secinfo.py +103 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tags.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_targets.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tasks.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tickets.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_tls_certificates.py +50 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_users.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/test_vulnerabilities.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/users/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/entities/users/test_modify_user.py +185 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_aggregate_statistic.py +61 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_condition.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_event.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alert_method.py +73 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_alive_test.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_credential_format.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_credential_type.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_entity_type.py +166 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_feed_type.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_filter_type.py +138 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_help_format.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_hosts_ordering.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_info_type.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_permission_subject_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_port_range_type.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_report_format_type.py +101 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_scanner_type.py +60 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_severity_level.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_snmp_algorithms.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_sort_order.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_ticket_status.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/enums/test_user_auth_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_aggregates.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_authentication.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_feed.py +15 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_help.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_system_reports.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_trashcan.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_user_settings.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/test_versions.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/versions/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/test_gmp_types.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv214/test_with_statement.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/__init__.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/test_create_note.py +167 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/notes/test_modify_note.py +159 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/test_create_override.py +214 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/overrides/test_modify_override.py +207 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/__init__.py +52 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py +30 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py +39 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py +90 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py +137 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py +244 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +94 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +113 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +75 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py +193 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py +127 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/test_create_target.py +225 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/targets/test_modify_target.py +211 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_alerts.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_audits.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_credentials.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_filters.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_groups.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_hosts.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_notes.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_operating_systems.py +36 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_overrides.py +43 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_permissions.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_policies.py +80 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_port_lists.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_report_formats.py +57 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_reports.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_results.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_roles.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_scan_configs.py +97 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_scanners.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_schedules.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_secinfo.py +103 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tags.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_targets.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tasks.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tickets.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_tls_certificates.py +50 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_users.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/test_vulnerabilities.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/test_create_user.py +110 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/entities/users/test_modify_user.py +188 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_aggregate_statistic.py +61 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_condition.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_event.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alert_method.py +73 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_alive_test.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_credential_format.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_credential_type.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_entity_type.py +166 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_feed_type.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_filter_type.py +138 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_help_format.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_hosts_ordering.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_info_type.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_permission_subject_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_port_range_type.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_report_format_type.py +101 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_scanner_type.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_severity_level.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_snmp_algorithms.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_sort_order.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_ticket_status.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/enums/test_user_auth_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_aggregates.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_authentication.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_feed.py +15 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_help.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_system_reports.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_trashcan.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_user_settings.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/test_versions.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/versions/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/test_gmp_types.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv224/test_with_statement.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/__init__.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/resourcenames/__init__.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py +238 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py +194 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_alerts.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_audits.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_credentials.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_filters.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_groups.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_hosts.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_notes.py +40 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_operating_systems.py +36 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_overrides.py +46 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_permissions.py +48 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_policies.py +80 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_port_lists.py +58 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_report_formats.py +57 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_reports.py +28 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_resource_names.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_results.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_roles.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_scan_configs.py +97 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_scanners.py +40 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_schedules.py +44 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_secinfo.py +103 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tags.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_targets.py +40 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tasks.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tickets.py +38 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_tls_certificates.py +50 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_users.py +117 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/entities/test_vulnerabilities.py +22 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_aggregate_statistic.py +61 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_condition.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_event.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alert_method.py +73 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_alive_test.py +65 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_credential_format.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_credential_type.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_entity_type.py +166 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_feed_type.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_filter_type.py +138 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_help_format.py +41 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_hosts_ordering.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_info_type copy.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_permission_subject_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_port_range_type.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_report_format_type.py +101 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_resource_type.py +133 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_scanner_type.py +53 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_severity_level.py +45 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_snmp_algorithms.py +49 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_sort_order.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_ticket_status.py +33 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/enums/test_user_auth_type.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_aggregates.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_authentication.py +25 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_feed.py +15 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_help.py +11 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_system_reports.py +13 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_trashcan.py +20 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_user_settings.py +29 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/test_versions.py +18 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/versions/__init__.py +8 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py +9 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/test_gmp_types.py +37 -0
- python_gvm-24.3.0/tests/protocols/gmpv225/test_with_statement.py +22 -0
- python_gvm-24.3.0/tests/protocols/osp/__init__.py +4 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_delete_scan.py +31 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_get_scanner_details.py +25 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_get_scans.py +34 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_get_version.py +25 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_get_vts.py +32 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_help.py +25 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_start_scan.py +89 -0
- python_gvm-24.3.0/tests/protocols/osp/test_osp_stop_scan.py +35 -0
- python_gvm-24.3.0/tests/protocols/test_latest.py +22 -0
- python_gvm-24.3.0/tests/protocols/test_next.py +22 -0
- python_gvm-24.3.0/tests/test_errors.py +214 -0
- python_gvm-24.3.0/tests/transforms/__init__.py +4 -0
- python_gvm-24.3.0/tests/transforms/test_check_command_transform.py +65 -0
- python_gvm-24.3.0/tests/transforms/test_etree_check_command_transform.py +45 -0
- python_gvm-24.3.0/tests/transforms/test_etree_transform.py +27 -0
- python_gvm-24.3.0/tests/utils/__init__.py +4 -0
- python_gvm-24.3.0/tests/utils/test_add_filter.py +31 -0
- python_gvm-24.3.0/tests/utils/test_check_command_status.py +62 -0
- python_gvm-24.3.0/tests/utils/test_check_port.py +36 -0
- python_gvm-24.3.0/tests/utils/test_deprecation.py +28 -0
- python_gvm-24.3.0/tests/utils/test_is_list_like.py +27 -0
- python_gvm-24.3.0/tests/utils/test_to_base64.py +21 -0
- python_gvm-24.3.0/tests/utils/test_to_bool.py +21 -0
- python_gvm-24.3.0/tests/utils/test_to_comma_list.py +22 -0
- python_gvm-24.3.0/tests/xml/__init__.py +4 -0
- python_gvm-24.3.0/tests/xml/test_pretty_print.py +170 -0
- python_gvm-24.3.0/tests/xml/test_valid_xml_string.py +32 -0
- python_gvm-24.3.0/tests/xml/test_xml_command.py +69 -0
- python_gvm-23.12.0/PKG-INFO +0 -165
- python_gvm-23.12.0/README.md +0 -137
- python_gvm-23.12.0/gvm/__init__.py +0 -34
- python_gvm-23.12.0/gvm/__version__.py +0 -5
- python_gvm-23.12.0/gvm/connections.py +0 -619
- python_gvm-23.12.0/gvm/errors.py +0 -200
- python_gvm-23.12.0/gvm/protocols/__init__.py +0 -35
- python_gvm-23.12.0/gvm/protocols/base.py +0 -142
- python_gvm-23.12.0/gvm/protocols/gmp.py +0 -132
- python_gvm-23.12.0/gvm/protocols/gmpv208/__init__.py +0 -196
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/alerts.py +0 -581
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/audits.py +0 -451
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/credentials.py +0 -616
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/entities.py +0 -95
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/filter.py +0 -278
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/groups.py +0 -186
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/hosts.py +0 -177
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/notes.py +0 -278
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/operating_systems.py +0 -130
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/overrides.py +0 -312
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/permissions.py +0 -317
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/policies.py +0 -442
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/port_lists.py +0 -297
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/report_formats.py +0 -309
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/reports.py +0 -192
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/results.py +0 -88
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/roles.py +0 -179
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/scan_configs.py +0 -639
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/scanners.py +0 -330
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/schedules.py +0 -247
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/secinfo.py +0 -649
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/severity.py +0 -54
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/tags.py +0 -286
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/targets.py +0 -384
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/tasks.py +0 -503
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/tickets.py +0 -247
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/tls_certificates.py +0 -209
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/users.py +0 -309
- python_gvm-23.12.0/gvm/protocols/gmpv208/entities/vulnerabilities.py +0 -64
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/aggregates.py +0 -256
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/authentication.py +0 -114
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/feed.py +0 -82
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/help.py +0 -91
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/system_reports.py +0 -79
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/trashcan.py +0 -55
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/user_settings.py +0 -100
- python_gvm-23.12.0/gvm/protocols/gmpv208/system/version.py +0 -44
- python_gvm-23.12.0/gvm/protocols/gmpv214/__init__.py +0 -200
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/notes.py +0 -181
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/overrides.py +0 -210
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/scanners.py +0 -217
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/targets.py +0 -258
- python_gvm-23.12.0/gvm/protocols/gmpv214/entities/users.py +0 -123
- python_gvm-23.12.0/gvm/protocols/gmpv214/system/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv214/system/version.py +0 -36
- python_gvm-23.12.0/gvm/protocols/gmpv224/__init__.py +0 -202
- python_gvm-23.12.0/gvm/protocols/gmpv224/entities/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv224/entities/scan_configs.py +0 -595
- python_gvm-23.12.0/gvm/protocols/gmpv224/entities/scanners.py +0 -214
- python_gvm-23.12.0/gvm/protocols/gmpv224/entities/users.py +0 -189
- python_gvm-23.12.0/gvm/protocols/gmpv224/system/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv224/system/version.py +0 -36
- python_gvm-23.12.0/gvm/protocols/gmpv225/__init__.py +0 -210
- python_gvm-23.12.0/gvm/protocols/gmpv225/entities/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv225/entities/resourcenames.py +0 -159
- python_gvm-23.12.0/gvm/protocols/gmpv225/system/__init__.py +0 -17
- python_gvm-23.12.0/gvm/protocols/gmpv225/system/version.py +0 -36
- python_gvm-23.12.0/gvm/protocols/latest.py +0 -93
- python_gvm-23.12.0/gvm/protocols/next.py +0 -93
- python_gvm-23.12.0/gvm/protocols/ospv1.py +0 -294
- python_gvm-23.12.0/gvm/transforms.py +0 -81
- python_gvm-23.12.0/gvm/utils.py +0 -112
- python_gvm-23.12.0/gvm/xml.py +0 -151
- python_gvm-23.12.0/pyproject.toml +0 -78
- python_gvm-23.12.0/tests/__init__.py +0 -65
- python_gvm-23.12.0/tests/connections/__init__.py +0 -17
- python_gvm-23.12.0/tests/connections/test_gvm_connection.py +0 -76
- python_gvm-23.12.0/tests/connections/test_ssh_connection.py +0 -510
- python_gvm-23.12.0/tests/connections/test_tls_connection.py +0 -77
- python_gvm-23.12.0/tests/connections/test_unix_socket_connection.py +0 -138
- python_gvm-23.12.0/tests/protocols/__init__.py +0 -40
- python_gvm-23.12.0/tests/protocols/gmp/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmp/test_context_manager.py +0 -157
- python_gvm-23.12.0/tests/protocols/gmpv208/__init__.py +0 -25
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/__init__.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_clone_alert.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_create_alert.py +0 -425
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_delete_alert.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_get_alert.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_get_alerts.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_modify_alert.py +0 -224
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_test_alert.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/alerts/test_trigger_alert.py +0 -89
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/__init__.py +0 -27
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_clone_audit.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_create_audit.py +0 -435
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_delete_audit.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_get_audit.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_get_audits.py +0 -68
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_modify_audit.py +0 -215
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_resume_audit.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_start_audit.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/audits/test_stop_audit.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_clone_credential.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_create_credential.py +0 -428
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_delete_credential.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_get_credential.py +0 -101
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_get_credentials.py +0 -77
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/credentials/test_modify_credential.py +0 -213
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_clone_filter.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_create_filter.py +0 -116
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_delete_filter.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_get_filter.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_get_filters.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/filters/test_modify_filter.py +0 -79
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_clone_group.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_create_group.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_delete_group.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_get_group.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_get_groups.py +0 -45
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/groups/test_modify_group.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/__init__.py +0 -23
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/test_create_host.py +0 -53
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/test_delete_host.py +0 -32
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/test_get_host.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/test_get_hosts.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/hosts/test_modify_host.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_clone_note.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_create_note.py +0 -188
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_delete_note.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_get_note.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_get_notes.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/notes/test_modify_note.py +0 -182
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/operating_systems/__init__.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/operating_systems/test_delete_operating_system.py +0 -32
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_system.py +0 -52
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/operating_systems/test_get_operating_systems.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/operating_systems/test_modify_operating_system.py +0 -77
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_clone_override.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_create_override.py +0 -243
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_delete_override.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_get_override.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_get_overrides.py +0 -60
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/overrides/test_modify_override.py +0 -245
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_clone_permission.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_create_permission.py +0 -187
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_delete_permission.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_get_permission.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_get_permissions.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/permissions/test_modify_permission.py +0 -217
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/__init__.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_clone_policy.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_create_policy.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_delete_policy.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_get_policies.py +0 -103
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_get_policy.py +0 -43
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_import_policy.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_comment.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_family_selection.py +0 -233
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_name.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_preference.py +0 -107
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_nvt_selection.py +0 -126
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/policies/test_modify_policy_set_scanner_preference.py +0 -84
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/__init__.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_clone_port_list.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_list.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_create_port_range.py +0 -158
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_list.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_delete_port_range.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_list.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_get_port_lists.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/port_lists/test_modify_port_list.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/__init__.py +0 -25
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_clone_report_format.py +0 -47
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_delete_report_format.py +0 -52
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_format.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_get_report_formats.py +0 -90
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_import_report_format.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_modify_report_format.py +0 -123
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/report_formats/test_verify_report_format.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/reports/__init__.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/reports/test_delete_report.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/reports/test_get_report.py +0 -94
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/reports/test_get_reports.py +0 -76
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/reports/test_import_report.py +0 -87
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/results/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/results/test_get_result.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/results/test_get_results.py +0 -76
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_clone_role.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_create_role.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_delete_role.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_get_role.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_get_roles.py +0 -45
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/roles/test_modify_role.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/__init__.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_clone_scan_config.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_create_scan_config_from_osp_scanner.py +0 -68
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_delete_scan_config.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config.py +0 -43
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preference.py +0 -52
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_config_preferences.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_get_scan_configs.py +0 -103
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_import_scan_config.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config.py +0 -150
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_comment.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_family_selection.py +0 -257
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_name.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +0 -107
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +0 -126
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +0 -88
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scan_configs/test_sync_scan_config.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/__init__.py +0 -25
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_clone_scanner.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_create_scanner.py +0 -197
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_delete_scanner.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_get_scanner.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_get_scanners.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_modify_scanner.py +0 -149
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/scanners/test_verify_scanner.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_clone_schedule.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_create_schedule.py +0 -99
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_delete_schedule.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_get_schedule.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_get_schedules.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/schedules/test_modify_schedule.py +0 -82
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/__init__.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisories.py +0 -60
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cert_bund_advisory.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpe.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cpes.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cve.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_cves.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisories.py +0 -60
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_dfn_cert_advisory.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_info.py +0 -88
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_info_list.py +0 -108
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt.py +0 -64
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_families.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preference.py +0 -45
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvt_preferences.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_nvts.py +0 -132
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definition.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_oval_definitions.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvt.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/secinfo/test_get_scan_config_nvts.py +0 -93
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_clone_tag.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_create_tag.py +0 -272
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_delete_tag.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_get_tag.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_get_tags.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tags/test_modify_tag.py +0 -200
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_clone_target.py +0 -39
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_create_target.py +0 -259
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_delete_target.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_get_target.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_get_targets.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/targets/test_modify_target.py +0 -207
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/__init__.py +0 -29
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_clone_task.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_create_container_task.py +0 -49
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_create_task.py +0 -435
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_delete_task.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_get_task.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_get_tasks.py +0 -68
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_modify_task.py +0 -213
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_move_task.py +0 -40
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_resume_task.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_start_task.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tasks/test_stop_task.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_alerts.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_audits.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_credentials.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_filters.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_groups.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_hosts.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_notes.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_operating_systems.py +0 -49
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_overrides.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_permissions.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_policies.py +0 -93
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_port_lists.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_report_formats.py +0 -70
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_reports.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_results.py +0 -28
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_roles.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_scan_configs.py +0 -138
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_scanners.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_schedules.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_secinfo.py +0 -130
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_tags.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_targets.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_tasks.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_tickets.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_tls_certificates.py +0 -63
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_users.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/test_vulnerabilities.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_clone_ticket.py +0 -44
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_create_ticket.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_delete_ticket.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_get_ticket.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_get_tickets.py +0 -45
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tickets/test_modify_ticket.py +0 -113
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_clone_tls_certificate.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_create_tls_certificate.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_delete_tls_certificate.py +0 -39
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificate.py +0 -36
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_get_tls_certificates.py +0 -45
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/tls_certificates/test_modify_tls_certificate.py +0 -68
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/__init__.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_clone_user.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_create_user.py +0 -114
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_delete_user.py +0 -59
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_get_user.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_get_users.py +0 -36
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/users/test_modify_user.py +0 -216
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/vulnerabilities/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerabilities.py +0 -36
- python_gvm-23.12.0/tests/protocols/gmpv208/entities/vulnerabilities/test_get_vulnerability.py +0 -37
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_aggregate_statistic.py +0 -74
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_alert_condition.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_alert_event.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_alert_method.py +0 -86
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_alive_test.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_credential_format.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_credential_type.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_entity_type.py +0 -179
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_feed_type.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_filter_type.py +0 -151
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_help_format.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_hosts_ordering.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_info_type.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_permission_subject_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_port_range_type.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_report_format_type.py +0 -114
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_scanner_type.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_severity_level.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_snmp_algorithms.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_sort_order.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_ticket_status.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv208/enums/test_user_auth_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/system/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv208/system/aggregates/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv208/system/aggregates/test_get_aggregates.py +0 -356
- python_gvm-23.12.0/tests/protocols/gmpv208/system/authentication/__init__.py +0 -21
- python_gvm-23.12.0/tests/protocols/gmpv208/system/authentication/test_authenticate.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv208/system/authentication/test_describe_auth.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/system/authentication/test_modify_auth.py +0 -70
- python_gvm-23.12.0/tests/protocols/gmpv208/system/feed/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv208/system/feed/test_get_feed.py +0 -65
- python_gvm-23.12.0/tests/protocols/gmpv208/system/feed/test_get_feeds.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/system/help/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv208/system/help/test_help.py +0 -43
- python_gvm-23.12.0/tests/protocols/gmpv208/system/system_reports/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv208/system/system_reports/test_get_system_reports.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_aggregates.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_authentication.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_feed.py +0 -28
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_help.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_system_reports.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_trashcan.py +0 -30
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_user_settings.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv208/system/test_versions.py +0 -30
- python_gvm-23.12.0/tests/protocols/gmpv208/system/trashcan/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv208/system/trashcan/test_empty_trashcan.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv208/system/trashcan/test_restore_from_trashcan.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv208/system/user_settings/__init__.py +0 -21
- python_gvm-23.12.0/tests/protocols/gmpv208/system/user_settings/test_get_user_setting.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv208/system/user_settings/test_get_user_settings.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv208/system/user_settings/test_modify_user_setting.py +0 -65
- python_gvm-23.12.0/tests/protocols/gmpv208/system/versions/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv208/system/versions/test_get_protocol_version.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv208/system/versions/test_get_version.py +0 -27
- python_gvm-23.12.0/tests/protocols/gmpv208/test_gmp_types.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv208/test_with_statement.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv214/__init__.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/notes/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/notes/test_create_note.py +0 -180
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/notes/test_modify_note.py +0 -172
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/overrides/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/overrides/test_create_override.py +0 -227
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/overrides/test_modify_override.py +0 -225
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/scanners/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/scanners/test_create_scanner.py +0 -206
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/scanners/test_modify_scanner.py +0 -150
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/targets/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/targets/test_create_target.py +0 -238
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/targets/test_modify_target.py +0 -224
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_alerts.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_audits.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_credentials.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_filters.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_groups.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_hosts.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_notes.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_operating_systems.py +0 -49
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_overrides.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_permissions.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_policies.py +0 -93
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_port_lists.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_report_formats.py +0 -70
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_reports.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_results.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_roles.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_scan_configs.py +0 -124
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_scanners.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_schedules.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_secinfo.py +0 -116
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_tags.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_targets.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_tasks.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_tickets.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_tls_certificates.py +0 -63
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_users.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/test_vulnerabilities.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/users/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv214/entities/users/test_modify_user.py +0 -198
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_aggregate_statistic.py +0 -74
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_alert_condition.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_alert_event.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_alert_method.py +0 -86
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_alive_test.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_credential_format.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_credential_type.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_entity_type.py +0 -179
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_feed_type.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_filter_type.py +0 -151
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_help_format.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_hosts_ordering.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_info_type.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_permission_subject_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_port_range_type.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_report_format_type.py +0 -114
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_scanner_type.py +0 -73
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_severity_level.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_snmp_algorithms.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_sort_order.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_ticket_status.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv214/enums/test_user_auth_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/system/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_aggregates.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_authentication.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_feed.py +0 -28
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_help.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_system_reports.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_trashcan.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_user_settings.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv214/system/test_versions.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv214/system/versions/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv214/system/versions/test_get_protocol_version.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv214/test_gmp_types.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv214/test_with_statement.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv224/__init__.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/notes/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/notes/test_create_note.py +0 -180
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/notes/test_modify_note.py +0 -172
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/overrides/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/overrides/test_create_override.py +0 -227
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/overrides/test_modify_override.py +0 -220
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/__init__.py +0 -47
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_clone_scan_config.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_create_scan_config.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_delete_scan_config.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config.py +0 -43
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preference.py +0 -52
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_config_preferences.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_get_scan_configs.py +0 -103
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_import_scan_config.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config.py +0 -150
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_comment.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_family_selection.py +0 -257
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_name.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_preference.py +0 -107
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_nvt_selection.py +0 -126
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scan_configs/test_modify_scan_config_set_scanner_preference.py +0 -88
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scanners/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scanners/test_create_scanner.py +0 -206
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/scanners/test_modify_scanner.py +0 -140
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/targets/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/targets/test_create_target.py +0 -238
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/targets/test_modify_target.py +0 -224
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_alerts.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_audits.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_credentials.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_filters.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_groups.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_hosts.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_notes.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_operating_systems.py +0 -49
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_overrides.py +0 -56
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_permissions.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_policies.py +0 -93
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_port_lists.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_report_formats.py +0 -70
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_reports.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_results.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_roles.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_scan_configs.py +0 -110
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_scanners.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_schedules.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_secinfo.py +0 -116
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_tags.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_targets.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_tasks.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_tickets.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_tls_certificates.py +0 -63
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_users.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/test_vulnerabilities.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/users/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/users/test_create_user.py +0 -123
- python_gvm-23.12.0/tests/protocols/gmpv224/entities/users/test_modify_user.py +0 -201
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_aggregate_statistic.py +0 -74
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_alert_condition.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_alert_event.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_alert_method.py +0 -86
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_alive_test.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_credential_format.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_credential_type.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_entity_type.py +0 -179
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_feed_type.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_filter_type.py +0 -151
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_help_format.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_hosts_ordering.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_info_type.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_permission_subject_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_port_range_type.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_report_format_type.py +0 -114
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_scanner_type.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_severity_level.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_snmp_algorithms.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_sort_order.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_ticket_status.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv224/enums/test_user_auth_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/system/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_aggregates.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_authentication.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_feed.py +0 -28
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_help.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_system_reports.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_trashcan.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_user_settings.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv224/system/test_versions.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv224/system/versions/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv224/system/versions/test_get_protocol_version.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv224/test_gmp_types.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv224/test_with_statement.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv225/__init__.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/resourcenames/__init__.py +0 -20
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_name.py +0 -251
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/resourcenames/test_get_resource_names_list.py +0 -207
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_alerts.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_audits.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_credentials.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_filters.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_groups.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_hosts.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_notes.py +0 -53
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_operating_systems.py +0 -49
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_overrides.py +0 -59
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_permissions.py +0 -61
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_policies.py +0 -93
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_port_lists.py +0 -71
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_report_formats.py +0 -70
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_reports.py +0 -41
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_resource_names.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_results.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_roles.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_scan_configs.py +0 -110
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_scanners.py +0 -53
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_schedules.py +0 -57
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_secinfo.py +0 -116
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_tags.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_targets.py +0 -53
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_tasks.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_tickets.py +0 -51
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_tls_certificates.py +0 -63
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_users.py +0 -130
- python_gvm-23.12.0/tests/protocols/gmpv225/entities/test_vulnerabilities.py +0 -35
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_aggregate_statistic.py +0 -74
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_alert_condition.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_alert_event.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_alert_method.py +0 -86
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_alive_test.py +0 -78
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_credential_format.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_credential_type.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_entity_type.py +0 -179
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_feed_type.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_filter_type.py +0 -151
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_help_format.py +0 -54
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_hosts_ordering.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_info_type copy.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_permission_subject_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_port_range_type.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_report_format_type.py +0 -114
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_resource_type.py +0 -146
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_scanner_type.py +0 -66
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_severity_level.py +0 -58
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_snmp_algorithms.py +0 -62
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_sort_order.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_ticket_status.py +0 -46
- python_gvm-23.12.0/tests/protocols/gmpv225/enums/test_user_auth_type.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv225/system/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_aggregates.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_authentication.py +0 -38
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_feed.py +0 -28
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_help.py +0 -24
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_system_reports.py +0 -26
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_trashcan.py +0 -33
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_user_settings.py +0 -42
- python_gvm-23.12.0/tests/protocols/gmpv225/system/test_versions.py +0 -31
- python_gvm-23.12.0/tests/protocols/gmpv225/system/versions/__init__.py +0 -19
- python_gvm-23.12.0/tests/protocols/gmpv225/system/versions/test_get_protocol_version.py +0 -22
- python_gvm-23.12.0/tests/protocols/gmpv225/test_gmp_types.py +0 -50
- python_gvm-23.12.0/tests/protocols/gmpv225/test_with_statement.py +0 -35
- python_gvm-23.12.0/tests/protocols/osp/__init__.py +0 -17
- python_gvm-23.12.0/tests/protocols/osp/test_osp_delete_scan.py +0 -44
- python_gvm-23.12.0/tests/protocols/osp/test_osp_get_scanner_details.py +0 -38
- python_gvm-23.12.0/tests/protocols/osp/test_osp_get_scans.py +0 -47
- python_gvm-23.12.0/tests/protocols/osp/test_osp_get_version.py +0 -38
- python_gvm-23.12.0/tests/protocols/osp/test_osp_get_vts.py +0 -45
- python_gvm-23.12.0/tests/protocols/osp/test_osp_help.py +0 -38
- python_gvm-23.12.0/tests/protocols/osp/test_osp_start_scan.py +0 -102
- python_gvm-23.12.0/tests/protocols/osp/test_osp_stop_scan.py +0 -48
- python_gvm-23.12.0/tests/protocols/test_latest.py +0 -35
- python_gvm-23.12.0/tests/protocols/test_next.py +0 -35
- python_gvm-23.12.0/tests/test_errors.py +0 -227
- python_gvm-23.12.0/tests/transforms/__init__.py +0 -17
- python_gvm-23.12.0/tests/transforms/test_check_command_transform.py +0 -78
- python_gvm-23.12.0/tests/transforms/test_etree_check_command_transform.py +0 -58
- python_gvm-23.12.0/tests/transforms/test_etree_transform.py +0 -40
- python_gvm-23.12.0/tests/utils/__init__.py +0 -17
- python_gvm-23.12.0/tests/utils/test_add_filter.py +0 -44
- python_gvm-23.12.0/tests/utils/test_check_command_status.py +0 -75
- python_gvm-23.12.0/tests/utils/test_check_port.py +0 -49
- python_gvm-23.12.0/tests/utils/test_deprecation.py +0 -41
- python_gvm-23.12.0/tests/utils/test_is_list_like.py +0 -40
- python_gvm-23.12.0/tests/utils/test_to_base64.py +0 -34
- python_gvm-23.12.0/tests/utils/test_to_bool.py +0 -34
- python_gvm-23.12.0/tests/utils/test_to_comma_list.py +0 -35
- python_gvm-23.12.0/tests/xml/__init__.py +0 -17
- python_gvm-23.12.0/tests/xml/test_pretty_print.py +0 -183
- python_gvm-23.12.0/tests/xml/test_valid_xml_string.py +0 -45
- python_gvm-23.12.0/tests/xml/test_xml_command.py +0 -82
- {python_gvm-23.12.0 → python_gvm-24.3.0}/LICENSE +0 -0
- {python_gvm-23.12.0 → python_gvm-24.3.0}/gvm/py.typed +0 -0
- {python_gvm-23.12.0 → python_gvm-24.3.0}/tests/protocols/gmpv208/entities/test_secinfo.py.rej +0 -0
- {python_gvm-23.12.0 → python_gvm-24.3.0}/tests/xml/test.file +0 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: python-gvm
|
|
3
|
+
Version: 24.3.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: defusedxml (>=0.6)
|
|
22
|
+
Requires-Dist: lxml (>=4.5.0)
|
|
23
|
+
Requires-Dist: paramiko (>=2.7.1)
|
|
24
|
+
Requires-Dist: typing-extensions (>=4.9.0)
|
|
25
|
+
Project-URL: Documentation, https://greenbone.github.io/python-gvm/
|
|
26
|
+
Project-URL: Repository, https://github.com/greenbone/python-gvm/
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
# Greenbone Vulnerability Management Python Library <!-- omit in toc -->
|
|
32
|
+
|
|
33
|
+
[](https://github.com/greenbone/python-gvm/releases)
|
|
34
|
+
[](https://pypi.org/project/python-gvm/)
|
|
35
|
+
[](https://codecov.io/gh/greenbone/python-gvm)
|
|
36
|
+
[](https://github.com/greenbone/python-gvm/actions/workflows/ci.yml)
|
|
37
|
+
|
|
38
|
+
The Greenbone Vulnerability Management Python API library (**python-gvm**) is a
|
|
39
|
+
collection of APIs that help with remote controlling Greenbone Community Edition
|
|
40
|
+
installations and Greenbone Enterprise Appliances. The library essentially
|
|
41
|
+
abstracts accessing the communication protocols Greenbone Management Protocol
|
|
42
|
+
(GMP) and Open Scanner Protocol (OSP).
|
|
43
|
+
|
|
44
|
+
## Table of Contents <!-- omit in toc -->
|
|
45
|
+
|
|
46
|
+
- [Documentation](#documentation)
|
|
47
|
+
- [Installation](#installation)
|
|
48
|
+
- [Version](#version)
|
|
49
|
+
- [Requirements](#requirements)
|
|
50
|
+
- [Install using pip](#install-using-pip)
|
|
51
|
+
- [Example](#example)
|
|
52
|
+
- [Support](#support)
|
|
53
|
+
- [Maintainer](#maintainer)
|
|
54
|
+
- [Contributing](#contributing)
|
|
55
|
+
- [License](#license)
|
|
56
|
+
|
|
57
|
+
## Documentation
|
|
58
|
+
|
|
59
|
+
The documentation for python-gvm can be found at
|
|
60
|
+
[https://greenbone.github.io/python-gvm/](https://greenbone.github.io/python-gvm/).
|
|
61
|
+
Please always take a look at the documentation for further details. This
|
|
62
|
+
**README** just gives you a short overview.
|
|
63
|
+
|
|
64
|
+
## Installation
|
|
65
|
+
|
|
66
|
+
### Version
|
|
67
|
+
|
|
68
|
+
Please consider to always use the **newest** version of `gvm-tools` and `python-gvm`.
|
|
69
|
+
We frequently update this projects to add features and keep them free from bugs.
|
|
70
|
+
This is why installing `python-gvm` using pip is recommended.
|
|
71
|
+
|
|
72
|
+
**To use `python-gvm` with an old GMP version (7, 8, 9) you must use a release version**
|
|
73
|
+
**that is `<21.05`. In the `21.05` release the support of these versions have been dropped.**
|
|
74
|
+
|
|
75
|
+
### Requirements
|
|
76
|
+
|
|
77
|
+
Python 3.9 and later is supported.
|
|
78
|
+
|
|
79
|
+
### Install using pip
|
|
80
|
+
|
|
81
|
+
You can install the latest stable release of python-gvm from the Python Package
|
|
82
|
+
Index using [pip](https://pip.pypa.io/):
|
|
83
|
+
|
|
84
|
+
python3 -m pip install --user python-gvm
|
|
85
|
+
|
|
86
|
+
## Example
|
|
87
|
+
|
|
88
|
+
```python3
|
|
89
|
+
from gvm.connections import UnixSocketConnection
|
|
90
|
+
from gvm.protocols.gmp import Gmp
|
|
91
|
+
from gvm.transforms import EtreeTransform
|
|
92
|
+
from gvm.xml import pretty_print
|
|
93
|
+
|
|
94
|
+
connection = UnixSocketConnection()
|
|
95
|
+
transform = EtreeTransform()
|
|
96
|
+
|
|
97
|
+
with Gmp(connection, transform=transform) as gmp:
|
|
98
|
+
# Retrieve GMP version supported by the remote daemon
|
|
99
|
+
version = gmp.get_version()
|
|
100
|
+
|
|
101
|
+
# Prints the XML in beautiful form
|
|
102
|
+
pretty_print(version)
|
|
103
|
+
|
|
104
|
+
# Login
|
|
105
|
+
gmp.authenticate('foo', 'bar')
|
|
106
|
+
|
|
107
|
+
# Retrieve all tasks
|
|
108
|
+
tasks = gmp.get_tasks()
|
|
109
|
+
|
|
110
|
+
# Get names of tasks
|
|
111
|
+
task_names = tasks.xpath('task/name/text()')
|
|
112
|
+
pretty_print(task_names)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Support
|
|
116
|
+
|
|
117
|
+
For any question on the usage of python-gvm please use the
|
|
118
|
+
[Greenbone Community Forum](https://forum.greenbone.net/c/building-from-source-under-the-hood/gmp/11). If you
|
|
119
|
+
found a problem with the software, please
|
|
120
|
+
[create an issue](https://github.com/greenbone/python-gvm/issues)
|
|
121
|
+
on GitHub.
|
|
122
|
+
|
|
123
|
+
## Maintainer
|
|
124
|
+
|
|
125
|
+
This project is maintained by [Greenbone AG](https://www.greenbone.net/).
|
|
126
|
+
|
|
127
|
+
## Contributing
|
|
128
|
+
|
|
129
|
+
Your contributions are highly appreciated. Please
|
|
130
|
+
[create a pull request](https://github.com/greenbone/python-gvm/pulls) on GitHub.
|
|
131
|
+
For bigger changes, please discuss it first in the
|
|
132
|
+
[issues](https://github.com/greenbone/python-gvm/issues).
|
|
133
|
+
|
|
134
|
+
For development you should use [poetry](https://python-poetry.org)
|
|
135
|
+
to keep you python packages separated in different environments. First install
|
|
136
|
+
poetry via pip
|
|
137
|
+
|
|
138
|
+
```shell
|
|
139
|
+
python3 -m pip install --user poetry
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Afterwards run
|
|
143
|
+
|
|
144
|
+
```shell
|
|
145
|
+
poetry install
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
in the checkout directory of python-gvm (the directory containing the
|
|
149
|
+
`pyproject.toml` file) to install all dependencies including the packages only
|
|
150
|
+
required for development.
|
|
151
|
+
|
|
152
|
+
The python-gvm repository uses [autohooks](https://github.com/greenbone/autohooks)
|
|
153
|
+
to apply linting and auto formatting via git hooks. Please ensure the git hooks
|
|
154
|
+
are active.
|
|
155
|
+
|
|
156
|
+
$ poetry install
|
|
157
|
+
$ poetry run autohooks activate --force
|
|
158
|
+
|
|
159
|
+
## License
|
|
160
|
+
|
|
161
|
+
Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/)
|
|
162
|
+
|
|
163
|
+
Licensed under the [GNU General Public License v3.0 or later](LICENSE).
|
|
164
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Greenbone Vulnerability Management Python Library <!-- omit in toc -->
|
|
4
|
+
|
|
5
|
+
[](https://github.com/greenbone/python-gvm/releases)
|
|
6
|
+
[](https://pypi.org/project/python-gvm/)
|
|
7
|
+
[](https://codecov.io/gh/greenbone/python-gvm)
|
|
8
|
+
[](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
|
+
**To use `python-gvm` with an old GMP version (7, 8, 9) you must use a release version**
|
|
45
|
+
**that is `<21.05`. In the `21.05` release the support of these versions have been dropped.**
|
|
46
|
+
|
|
47
|
+
### Requirements
|
|
48
|
+
|
|
49
|
+
Python 3.9 and later is supported.
|
|
50
|
+
|
|
51
|
+
### Install using pip
|
|
52
|
+
|
|
53
|
+
You can install the latest stable release of python-gvm from the Python Package
|
|
54
|
+
Index using [pip](https://pip.pypa.io/):
|
|
55
|
+
|
|
56
|
+
python3 -m pip install --user python-gvm
|
|
57
|
+
|
|
58
|
+
## Example
|
|
59
|
+
|
|
60
|
+
```python3
|
|
61
|
+
from gvm.connections import UnixSocketConnection
|
|
62
|
+
from gvm.protocols.gmp import Gmp
|
|
63
|
+
from gvm.transforms import EtreeTransform
|
|
64
|
+
from gvm.xml import pretty_print
|
|
65
|
+
|
|
66
|
+
connection = UnixSocketConnection()
|
|
67
|
+
transform = EtreeTransform()
|
|
68
|
+
|
|
69
|
+
with Gmp(connection, transform=transform) as gmp:
|
|
70
|
+
# Retrieve GMP version supported by the remote daemon
|
|
71
|
+
version = gmp.get_version()
|
|
72
|
+
|
|
73
|
+
# Prints the XML in beautiful form
|
|
74
|
+
pretty_print(version)
|
|
75
|
+
|
|
76
|
+
# Login
|
|
77
|
+
gmp.authenticate('foo', 'bar')
|
|
78
|
+
|
|
79
|
+
# Retrieve all tasks
|
|
80
|
+
tasks = gmp.get_tasks()
|
|
81
|
+
|
|
82
|
+
# Get names of tasks
|
|
83
|
+
task_names = tasks.xpath('task/name/text()')
|
|
84
|
+
pretty_print(task_names)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Support
|
|
88
|
+
|
|
89
|
+
For any question on the usage of python-gvm please use the
|
|
90
|
+
[Greenbone Community Forum](https://forum.greenbone.net/c/building-from-source-under-the-hood/gmp/11). If you
|
|
91
|
+
found a problem with the software, please
|
|
92
|
+
[create an issue](https://github.com/greenbone/python-gvm/issues)
|
|
93
|
+
on GitHub.
|
|
94
|
+
|
|
95
|
+
## Maintainer
|
|
96
|
+
|
|
97
|
+
This project is maintained by [Greenbone AG](https://www.greenbone.net/).
|
|
98
|
+
|
|
99
|
+
## Contributing
|
|
100
|
+
|
|
101
|
+
Your contributions are highly appreciated. Please
|
|
102
|
+
[create a pull request](https://github.com/greenbone/python-gvm/pulls) on GitHub.
|
|
103
|
+
For bigger changes, please discuss it first in the
|
|
104
|
+
[issues](https://github.com/greenbone/python-gvm/issues).
|
|
105
|
+
|
|
106
|
+
For development you should use [poetry](https://python-poetry.org)
|
|
107
|
+
to keep you python packages separated in different environments. First install
|
|
108
|
+
poetry via pip
|
|
109
|
+
|
|
110
|
+
```shell
|
|
111
|
+
python3 -m pip install --user poetry
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Afterwards run
|
|
115
|
+
|
|
116
|
+
```shell
|
|
117
|
+
poetry install
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
in the checkout directory of python-gvm (the directory containing the
|
|
121
|
+
`pyproject.toml` file) to install all dependencies including the packages only
|
|
122
|
+
required for development.
|
|
123
|
+
|
|
124
|
+
The python-gvm repository uses [autohooks](https://github.com/greenbone/autohooks)
|
|
125
|
+
to apply linting and auto formatting via git hooks. Please ensure the git hooks
|
|
126
|
+
are active.
|
|
127
|
+
|
|
128
|
+
$ poetry install
|
|
129
|
+
$ poetry run autohooks activate --force
|
|
130
|
+
|
|
131
|
+
## License
|
|
132
|
+
|
|
133
|
+
Copyright (C) 2017-2024 [Greenbone AG](https://www.greenbone.net/)
|
|
134
|
+
|
|
135
|
+
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,38 @@
|
|
|
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 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 from_string(
|
|
21
|
+
cls,
|
|
22
|
+
value: Optional[str],
|
|
23
|
+
) -> Optional[Self]:
|
|
24
|
+
"""
|
|
25
|
+
Convert a string value into an Enum instance
|
|
26
|
+
|
|
27
|
+
If value is None or empty None is returned
|
|
28
|
+
"""
|
|
29
|
+
if not value:
|
|
30
|
+
return None
|
|
31
|
+
|
|
32
|
+
try:
|
|
33
|
+
return cls[value.replace(" ", "_").upper()]
|
|
34
|
+
except KeyError:
|
|
35
|
+
raise InvalidArgument(
|
|
36
|
+
f"Invalid argument {value} for {cls.__name__}.from_string. "
|
|
37
|
+
f"Allowed values are {','.join(e.name for e in cls)}."
|
|
38
|
+
) from None
|