|
Greenbone Security Assistant
9.0.1
|
Headers for GSA's GMP communication module. More...
#include "gsad_cmd.h"#include "gsad_content_type.h"#include "gsad_http.h"#include "gsad_user.h"#include <glib.h>#include <gvm/util/serverutils.h>

Go to the source code of this file.
Functions | |
| void | gmp_init (const gchar *, const gchar *, int) |
| Init the GSA GMP library. More... | |
| int | manager_connect (credentials_t *, gvm_connection_t *, cmd_response_data_t *) |
| Connect to Greenbone Vulnerability Manager daemon. More... | |
| char * | clone_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Clone a resource, envelope the result. More... | |
| char * | create_report_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Returns page to create a new container task. More... | |
| char * | create_container_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a container task, serve next page. More... | |
| char * | create_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a task, get all tasks, envelope the result. More... | |
| char * | delete_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a task, get all tasks, envelope the result. More... | |
| char * | save_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save task, get next page, envelope the result. More... | |
| char * | save_container_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save container task, get next page, envelope the result. More... | |
| char * | resume_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Resume a task, get all tasks, envelope the result. More... | |
| char * | start_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Start a task, get all tasks, envelope the result. More... | |
| char * | stop_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Stop a task, get all tasks, envelope the result. More... | |
| char * | move_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Reassign a task to a new GMP slave. More... | |
| char * | get_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a task, envelope the result. More... | |
| char * | get_tasks_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all tasks, envelope the result. More... | |
| char * | get_tasks_chart_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | export_task_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a task. More... | |
| char * | export_tasks_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of tasks. More... | |
| char * | delete_report_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete report, get task status, envelope the result. More... | |
| char * | get_report_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a report and envelope the result. More... | |
| char * | get_reports_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all reports, envelope the result. More... | |
| char * | report_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Run alert for a report. More... | |
| char * | download_ssl_cert (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get an SSL Certificate. More... | |
| char * | download_ca_pub (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a Scanner's CA Certificate. More... | |
| char * | download_key_pub (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a Scanner's Certificate. More... | |
| char * | export_result_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a result. More... | |
| char * | export_results_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of results. More... | |
| char * | get_result_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one result, envelope the result. More... | |
| char * | get_results_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all results, envelope the result. More... | |
| char * | new_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Returns page to create a new alert. More... | |
| char * | create_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create an alert, get all alerts, envelope the result. More... | |
| char * | delete_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete an alert, get all alerts, envelope the result. More... | |
| char * | test_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Test an alert, get all alerts envelope the result. More... | |
| char * | get_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one alert, envelope the result. More... | |
| char * | edit_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Setup edit_alert XML, envelope the result. More... | |
| char * | save_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify an alert, get all alerts, envelope the result. More... | |
| char * | get_alerts_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all alerts, envelope the result. More... | |
| char * | export_alert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export an alert. More... | |
| char * | export_alerts_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of alerts. More... | |
| int | download_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, char **, char **, cmd_response_data_t *) |
| Export a Credential in a defined format. More... | |
| char * | export_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a Credential. More... | |
| char * | export_credentials_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of Credentials. More... | |
| char * | get_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one credential, envelope the result. More... | |
| char * | get_credentials_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one or all credentials, envelope the result. More... | |
| char * | create_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a credential, get all credentials, envelope result. More... | |
| char * | delete_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete credential, get all credentials, envelope result. More... | |
| char * | save_credential_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save credential, get next page, envelope the result. More... | |
| char * | get_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one agent, envelope the result. More... | |
| char * | get_agents_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all agents, envelope the result. More... | |
| int | download_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, char **, char **, cmd_response_data_t *) |
| Get an agent, envelope the result. More... | |
| char * | save_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a agent, get all agents, envelope the result. More... | |
| char * | create_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create an agent, get all agents, envelope result. More... | |
| char * | delete_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete agent, get all agents, envelope result. More... | |
| char * | verify_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Verify agent, get agents, envelope the result. More... | |
| char * | export_agent_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a agent. More... | |
| char * | export_agents_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of agents. More... | |
| char * | get_aggregate_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get an aggregate of resources. More... | |
| char * | create_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a scanner, get all scanners, envelope the result. More... | |
| char * | get_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one scanner, envelope the result. More... | |
| char * | get_scanners_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all scanners, envelope the result. More... | |
| char * | save_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save scanner, get next page, envelope the result. More... | |
| char * | delete_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a scanner, get all scanners, envelope the result. More... | |
| char * | export_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a scanner. More... | |
| char * | export_scanners_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of scanners. More... | |
| char * | verify_scanner_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Verify scanner, get scanners, envelope the result. More... | |
| char * | create_schedule_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a schedule, get all schedules, envelope the result. More... | |
| char * | delete_schedule_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a schedule, get all schedules, envelope the result. More... | |
| char * | get_schedule_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one schedule, envelope the result. More... | |
| char * | get_schedules_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all schedules, envelope the result. More... | |
| char * | save_schedule_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save schedule, get next page, envelope the result. More... | |
| char * | export_schedule_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a schedule. More... | |
| char * | export_schedules_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of schedules. More... | |
| char * | create_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a tag, envelope the result. More... | |
| char * | create_tags_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | delete_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete note, get next page, envelope the result. More... | |
| char * | export_tags_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of tags. More... | |
| char * | export_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a tag. More... | |
| char * | get_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one tag, envelope the result. More... | |
| char * | get_tags_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all tags, envelope the result. More... | |
| char * | save_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a tag, get all tags, envelope the result. More... | |
| char * | toggle_tag_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Set tag enabled status. More... | |
| char * | get_target_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one target, envelope the result. More... | |
| char * | get_targets_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all targets, envelope the result. More... | |
| char * | export_targets_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of targets. More... | |
| char * | export_target_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a target. More... | |
| char * | create_target_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a target, get all targets, envelope the result. More... | |
| char * | delete_target_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a target, get all targets, envelope the result. More... | |
| char * | save_target_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a target, get all targets, envelope the result. More... | |
| char * | get_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a config, envelope the result. More... | |
| char * | get_configs_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all scan configs, envelope the result. More... | |
| char * | save_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save details of an NVT for a config and return the next page. More... | |
| char * | edit_config_family_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get details of a family for editing a config, envelope result. More... | |
| char * | get_config_family_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get details of a family for a config, envelope the result. More... | |
| char * | save_config_family_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get details of an NVT for a config, envelope the result. More... | |
| char * | get_config_nvt_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get details of an NVT for a config, envelope the result. More... | |
| char * | save_config_nvt_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save NVT prefs for a config, get NVT details, envelope result. More... | |
| char * | create_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create config, get all configs, envelope the result. More... | |
| char * | import_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Import config, get all configs, envelope the result. More... | |
| char * | delete_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete config, get all configs, envelope the result. More... | |
| char * | export_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a config. More... | |
| char * | export_configs_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of scan configs. More... | |
| char * | export_preference_file_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a file preference. More... | |
| char * | export_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a report format. More... | |
| char * | export_report_formats_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of Report Formats. More... | |
| char * | create_group_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a group, get all groups, envelope the result. More... | |
| char * | delete_group_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a group, get all groups, envelope the result. More... | |
| char * | export_group_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a group. More... | |
| char * | export_groups_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of groups. More... | |
| char * | get_group_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one group, envelope the result. More... | |
| char * | get_groups_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all groups, envelope the result. More... | |
| char * | save_group_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a group, return the next page. More... | |
| char * | get_notes_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all notes, envelope the result. More... | |
| char * | get_note_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a note, envelope the result. More... | |
| char * | create_note_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a note, get report, envelope the result. More... | |
| char * | delete_note_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete note, get next page, envelope the result. More... | |
| char * | save_note_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save note, get next page, envelope the result. More... | |
| char * | export_note_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a note. More... | |
| char * | export_notes_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of notes. More... | |
| char * | get_nvt_families_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all nvt_families, envelope the result. More... | |
| char * | create_permission_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a permission, get all permissions, envelope the result. More... | |
| char * | create_permissions_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create multiple permission, get next page, envelope the result. More... | |
| char * | delete_permission_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a permission, get all permissions, envelope the result. More... | |
| char * | export_permission_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a permission. More... | |
| char * | export_permissions_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of permissions. More... | |
| char * | get_permission_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one permission, envelope the result. More... | |
| char * | get_permissions_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all permissions, envelope the result. More... | |
| char * | save_permission_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a permission, get all permissions, envelope the result. More... | |
| char * | create_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a port list, get all port lists, envelope the result. More... | |
| char * | create_port_range_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Add a range to a port list, envelope the result. More... | |
| char * | get_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one port_list, envelope the result. More... | |
| char * | save_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a port list, get all port list, envelope the result. More... | |
| char * | get_port_lists_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all port_lists, envelope the result. More... | |
| char * | delete_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a port list, get all port lists, envelope the result. More... | |
| char * | delete_port_range_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a port range, get the port list, envelope the result. More... | |
| char * | export_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a Port List. More... | |
| char * | export_port_lists_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of Port Lists. More... | |
| char * | import_port_list_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Import port list, get all port_lists, envelope the result. More... | |
| char * | create_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a role, get all roles, envelope the result. More... | |
| char * | delete_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a role, get all roles, envelope the result. More... | |
| char * | export_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a role. More... | |
| char * | export_roles_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of roles. More... | |
| char * | get_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one role, envelope the result. More... | |
| char * | get_roles_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all roles, envelope the result. More... | |
| char * | save_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a role, return the next page. More... | |
| char * | get_overrides_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all overrides, envelope the result. More... | |
| char * | get_override_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get an override, envelope the result. More... | |
| char * | create_override_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create an override, get report, envelope the result. More... | |
| char * | delete_override_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete override, get next page, envelope the result. More... | |
| char * | save_override_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save override, get next page, envelope the result. More... | |
| char * | export_override_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export an override. More... | |
| char * | export_overrides_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of overrides. More... | |
| char * | get_slave_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | get_slaves_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | create_slave_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | save_slave_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | delete_slave_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | export_slave_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | export_slaves_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | get_system_reports_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all system reports, envelope the result. More... | |
| char * | get_system_report_gmp (gvm_connection_t *, credentials_t *, const char *, params_t *, cmd_response_data_t *) |
| Return system report image. More... | |
| char * | get_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one report format, envelope the result. More... | |
| char * | get_report_formats_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all Report Formats, envelope the result. More... | |
| char * | delete_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete report format, get report formats, envelope the result. More... | |
| char * | import_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Import report format, get all report formats, envelope result. More... | |
| char * | save_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save report_format, get next page, envelope the result. More... | |
| char * | get_feeds_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get descriptions of the feeds connected to the manager. More... | |
| char * | sync_feed_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Synchronize with an NVT feed and envelope the result. More... | |
| char * | sync_scap_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Synchronize with a SCAP feed and envelope the result. More... | |
| char * | sync_cert_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Synchronize with a CERT feed and envelope the result. More... | |
| char * | create_filter_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a filter, get all filters, envelope the result. More... | |
| char * | delete_filter_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a filter, get all filters, envelope the result. More... | |
| char * | export_filter_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a filter. More... | |
| char * | export_filters_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of filters. More... | |
| char * | get_filter_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one filter, envelope the result. More... | |
| char * | get_filters_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all filters, envelope the result. More... | |
| char * | save_filter_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a filter, get all filters, envelope the result. More... | |
| char * | create_user_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a user, get all users, envelope the result. More... | |
| char * | delete_user_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a user, get all users, envelope the result. More... | |
| char * | export_user_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a user. More... | |
| char * | export_users_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of users. More... | |
| char * | get_user_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get one user, envelope the result. More... | |
| char * | get_users_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all users, envelope the result. More... | |
| char * | save_user_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a user, get all users, envelope the result. More... | |
| char * | get_vulns_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get multiple vulns, envelope the result. More... | |
| char * | save_auth_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save authentication settings. More... | |
| char * | bulk_delete_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete multiple resources, get next page, envelope the result. More... | |
| char * | bulk_export_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export multiple resources. More... | |
| char * | run_wizard_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Run a wizard and envelope the result. More... | |
| char * | wizard_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Returns a wizard page. More... | |
| char * | wizard_get_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Returns a wizard_get page. More... | |
| char * | cvss_calculator (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | get_trash_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *) |
| Get all trash, envelope the result. More... | |
| char * | restore_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Restore a resource, get all trash, envelope the result. More... | |
| char * | delete_from_trash_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a resource from the trashcan. More... | |
| char * | empty_trashcan_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Empty the trashcan, get all trash, envelope the result. More... | |
| char * | get_settings_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all user defined settings. More... | |
| char * | save_my_settings_gmp (gvm_connection_t *, credentials_t *, params_t *, const gchar *, cmd_response_data_t *) |
| Returns page with user's settings, for editing. More... | |
| char * | get_setting_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | save_setting_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Save user setting. More... | |
| char * | auth_settings_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | get_info_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get info, envelope the result. More... | |
| char * | get_info (gvm_connection_t *, credentials_t *, params_t *, const char *, cmd_response_data_t *) |
| char * | create_asset_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create an asset, get report, envelope the result. More... | |
| char * | create_host_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a host, serve next page. More... | |
| char * | delete_asset_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete an asset, go to the next page. More... | |
| char * | save_asset_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify an asset, get all assets, envelope the result. More... | |
| char * | get_assets_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Request assets. More... | |
| char * | get_asset_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get asset, envelope the result. More... | |
| char * | export_asset_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export an asset. More... | |
| char * | export_assets_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Export a list of assets. More... | |
| char * | get_assets_chart_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | get_tickets_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all tickets, envelope the result. More... | |
| char * | get_ticket_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get single tickets, envelope the result. More... | |
| char * | create_ticket_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a ticket. More... | |
| char * | save_ticket_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a ticket. More... | |
| char * | delete_ticket_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a ticket. More... | |
| char * | get_tls_certificates_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get all TLS certificates, envelope the result. More... | |
| char * | get_tls_certificate_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get single TLS certificates, envelope the result. More... | |
| char * | create_tls_certificate_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Create a TLS certificate. More... | |
| char * | save_tls_certificate_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Modify a TLS certificate. More... | |
| char * | delete_tls_certificate_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Delete a TLS certificate. More... | |
| char * | get_capabilities_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | renew_session_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| char * | ping_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get assets, envelope the result. More... | |
| int | login (http_connection_t *con, params_t *params, cmd_response_data_t *response_data, const char *client_address) |
| Login and create a session. More... | |
Headers for GSA's GMP communication module.
Definition in file gsad_gmp.h.
| char* auth_settings_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 14943 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), command_enabled(), envelope_gmp(), gmp(), gsad_message(), and params_value().

| char* bulk_delete_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete multiple resources, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15965 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and response_from_entity().

| char* bulk_export_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export multiple resources.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16071 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, export_many(), params_add(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and str_equal().

| char* clone_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Clone a resource, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6078 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), params_value(), and response_from_entity().

| char* create_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create an agent, get all agents, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3926 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_filename(), params_value(), params_value_size(), and response_from_entity().

| char* create_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create an alert, get all alerts, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5173 of file gsad_gmp.c.
References append_alert_condition_data(), append_alert_event_data(), append_alert_method_data(), CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), EVENT_TYPE_NEW_SECINFO, EVENT_TYPE_UPDATED_SECINFO, FILT_ID_NONE, gmp(), gsad_message(), params_add(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), str_equal(), and param::value.

| char* create_asset_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create an asset, get report, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16311 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* create_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create config, get all configs, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7061 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_value(), response_from_entity(), and str_equal().

| char* create_container_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a container task, serve next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2037 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* create_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a credential, get all credentials, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3082 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), login(), params_add(), params_value(), response_from_entity(), and str_equal().

| char* create_filter_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a filter, get all filters, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14306 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* create_group_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a group, get all groups, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12406 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_value(), response_from_entity(), and users.

| char* create_host_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a host, serve next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16125 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* create_note_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a note, get report, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9426 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_hosts_from_params(), get_port_from_params(), get_result_id_from_params(), get_severity_from_params(), get_task_id_from_params(), gmpf(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* create_override_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create an override, get report, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9703 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_hosts_from_params(), get_port_from_params(), get_result_id_from_params(), get_severity_from_params(), get_task_id_from_params(), gmpf(), gsad_message(), params_add(), params_original_value(), params_valid(), params_value(), and response_from_entity().

| char* create_permission_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a permission, get all permissions, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12705 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_given(), params_value(), response_from_entity(), and str_equal().

| char* create_permissions_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create multiple permission, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12864 of file gsad_gmp.c.
References action_result(), CHECK_GMPF_RET, CHECK_VARIABLE_INVALID, gmpf(), INCLUDE_RELATED_CURRENT_RESOURCE_ONLY, INCLUDE_RELATED_RESOURCES_ONLY, params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), str_equal(), and param::value.

| char* create_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a port list, get all port lists, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13380 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* create_port_range_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Add a range to a port list, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13461 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* create_report_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Returns page to create a new container task.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [in] | message | If not NULL, display message. |
| [in] | extra_xml | Extra XML to insert inside page element. |
| [out] | response_data | Extra data return for the HTTP response. |
Create a report, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 1926 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), message_invalid(), params_value(), and response_from_entity().
Referenced by import_report_gmp().


| char* create_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a role, get all roles, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13812 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_value(), response_from_entity(), and users.

| char* create_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a scanner, get all scanners, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10114 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_given(), params_value(), and response_from_entity().

| char* create_schedule_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a schedule, get all schedules, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10446 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* create_slave_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* create_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a tag, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6305 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), and param::value.

| char* create_tags_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* create_target_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a target, get all targets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5878 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_given(), params_value(), and response_from_entity().

| char* create_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a task, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2121 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gmp_success(), gsad_message(), message_invalid(), params_add(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_valid(), params_value(), params_values(), response_from_entity(), str_equal(), and param::value.

| char* create_ticket_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a ticket.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16620 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* create_tls_certificate_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a TLS certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16859 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), params_value_size(), and response_from_entity().

| char* create_user_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Create a user, get all users, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14763 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), and param::value.

| char* cvss_calculator | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 15279 of file gsad_gmp.c.
References envelope_gmp(), and params_value().

| char* delete_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete agent, get all agents, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4061 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete an alert, get all alerts, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5309 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_asset_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete an asset, go to the next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16385 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gsad_message(), params_get(), params_value(), response_from_entity(), param::value, and param::value_size.

| char* delete_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete config, get all configs, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8147 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete credential, get all credentials, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3662 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_filter_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a filter, get all filters, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14382 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_from_trash_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a resource from the trashcan.
| [in] | connection | Connection to manager. |
| [in] | type | Type of resource. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 1723 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, delete_resource(), and params_value().

| char* delete_group_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a group, get all groups, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12388 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_note_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete note, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9525 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_override_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete override, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9828 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_permission_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a permission, get all permissions, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12687 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a port list, get all port lists, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13684 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_port_range_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a port range, get the port list, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13702 of file gsad_gmp.c.
References delete_resource().

| char* delete_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete report format, get report formats, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10915 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_report_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete report, get task status, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8448 of file gsad_gmp.c.
References delete_resource().

| char* delete_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a role, get all roles, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13794 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a scanner, get all scanners, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10211 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_schedule_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a schedule, get all schedules, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10527 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_slave_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* delete_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete note, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6420 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_target_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a target, get all targets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6165 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a task, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2454 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_ticket_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a ticket.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16779 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_tls_certificate_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a TLS certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 17033 of file gsad_gmp.c.
References move_resource_to_trash().

| char* delete_user_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Delete a user, get all users, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14638 of file gsad_gmp.c.
References move_resource_to_trash().

| int download_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| char ** | html, | ||
| char ** | filename, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get an agent, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | html | Result. Required. |
| [out] | filename | Agent filename return. NULL to skip. Only set on success with agent_id. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4082 of file gsad_gmp.c.
References cmd_response_data_set_content_length(), cmd_response_data_set_status_code(), gsad_message(), and params_value().

| char* download_ca_pub | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a Scanner's CA Certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9086 of file gsad_gmp.c.
References cmd_response_data_set_content_length(), cmd_response_data_set_status_code(), gsad_message(), and params_value().

| int download_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| char ** | html, | ||
| char ** | login, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a Credential in a defined format.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | html | Result. Required. |
| [out] | login | Login name return. NULL to skip. Only set on success with credential_id. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3420 of file gsad_gmp.c.
References cmd_response_data_set_content_length(), cmd_response_data_set_status_code(), gsad_message(), login(), and params_value().

| char* download_key_pub | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a Scanner's Certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9119 of file gsad_gmp.c.
References cmd_response_data_set_content_length(), cmd_response_data_set_status_code(), gsad_message(), and params_value().

| char* download_ssl_cert | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get an SSL Certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9045 of file gsad_gmp.c.
References cmd_response_data_set_content_length(), cmd_response_data_set_status_code(), gsad_message(), and params_value().

| char* edit_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Setup edit_alert XML, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5616 of file gsad_gmp.c.
References edit_alert().

| char* edit_config_family_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get details of a family for editing a config, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7739 of file gsad_gmp.c.
References get_config_family().

| char* empty_trashcan_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Empty the trashcan, get all trash, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6250 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gsad_message(), and response_from_entity().

| char* export_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a agent.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4452 of file gsad_gmp.c.
References export_resource().

| char* export_agents_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of agents.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4471 of file gsad_gmp.c.
References export_many().

| char* export_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export an alert.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5842 of file gsad_gmp.c.
References export_resource().

| char* export_alerts_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of alerts.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5861 of file gsad_gmp.c.
References export_many().

| char* export_asset_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export an asset.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16472 of file gsad_gmp.c.
References export_resource().

| char* export_assets_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of assets.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16491 of file gsad_gmp.c.
References export_many().

| char* export_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a config.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8165 of file gsad_gmp.c.
References export_resource().

| char* export_configs_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of scan configs.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8184 of file gsad_gmp.c.
References export_many().

| char* export_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a Credential.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3606 of file gsad_gmp.c.
References export_resource().

| char* export_credentials_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of Credentials.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3625 of file gsad_gmp.c.
References export_many().

| char* export_filter_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a filter.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14400 of file gsad_gmp.c.
References export_resource().

| char* export_filters_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of filters.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14419 of file gsad_gmp.c.
References export_many().

| char* export_group_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a group.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12507 of file gsad_gmp.c.
References export_resource().

| char* export_groups_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of groups.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12526 of file gsad_gmp.c.
References export_many().

| char* export_note_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a note.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8201 of file gsad_gmp.c.
References export_resource().

| char* export_notes_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of notes.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8220 of file gsad_gmp.c.
References export_many().

| char* export_override_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export an override.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8237 of file gsad_gmp.c.
References export_resource().

| char* export_overrides_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of overrides.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8256 of file gsad_gmp.c.
References export_many().

| char* export_permission_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a permission.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13236 of file gsad_gmp.c.
References export_resource().

| char* export_permissions_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of permissions.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13255 of file gsad_gmp.c.
References export_many().

| char* export_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a Port List.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8275 of file gsad_gmp.c.
References export_resource().

| char* export_port_lists_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of Port Lists.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8294 of file gsad_gmp.c.
References export_many().

| char* export_preference_file_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a file preference.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8312 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_content_disposition(), cmd_response_data_set_content_length(), cmd_response_data_set_content_type(), cmd_response_data_set_status_code(), envelope_gmp(), GSAD_CONTENT_TYPE_OCTET_STREAM, gsad_message(), and params_value().

| char* export_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a report format.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8409 of file gsad_gmp.c.
References export_resource().

| char* export_report_formats_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of Report Formats.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8429 of file gsad_gmp.c.
References export_many().

| char* export_result_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9154 of file gsad_gmp.c.
References export_resource().

| char* export_results_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of results.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9173 of file gsad_gmp.c.
References export_many().

| char* export_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a role.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13945 of file gsad_gmp.c.
References export_resource().

| char* export_roles_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of roles.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13964 of file gsad_gmp.c.
References export_many().

| char* export_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a scanner.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10012 of file gsad_gmp.c.
References export_resource().

| char* export_scanners_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of scanners.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10030 of file gsad_gmp.c.
References export_many().

| char* export_schedule_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a schedule.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14518 of file gsad_gmp.c.
References export_resource().

| char* export_schedules_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of schedules.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14536 of file gsad_gmp.c.
References export_many().

| char* export_slave_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* export_slaves_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* export_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a tag.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6566 of file gsad_gmp.c.
References export_resource().

| char* export_tags_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of tags.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6585 of file gsad_gmp.c.
References export_many().

| char* export_target_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a target.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7025 of file gsad_gmp.c.
References export_resource().

| char* export_targets_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of targets.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7044 of file gsad_gmp.c.
References export_many().

| char* export_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a task.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2804 of file gsad_gmp.c.
References export_resource().

| char* export_tasks_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of tasks.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2823 of file gsad_gmp.c.
References export_many().

| char* export_user_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a user.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15253 of file gsad_gmp.c.
References export_resource().

| char* export_users_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Export a list of users.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15272 of file gsad_gmp.c.
References export_many().

| char* get_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one agent, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4342 of file gsad_gmp.c.
References get_agent().

| char* get_agents_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all agents, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4359 of file gsad_gmp.c.
References get_many().

| char* get_aggregate_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get an aggregate of resources.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4488 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), envelope_gmp(), FILT_ID_NONE, gmp(), gmp_success(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), set_http_status_from_entity(), str_equal(), param::valid, and param::value.

| char* get_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one alert, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5352 of file gsad_gmp.c.
References get_alert().

| char* get_alerts_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all alerts, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5369 of file gsad_gmp.c.
References get_many().

| char* get_asset_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get asset, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16258 of file gsad_gmp.c.
References get_asset().

| char* get_assets_chart_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* get_assets_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Request assets.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials for the manager connection. |
| [in] | params | Request parameters. |
| [in] | extra_xml | Extra XML to insert inside page element. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16276 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_many(), gmp_arguments_add(), gmp_arguments_new(), and params_value().

| char* get_capabilities_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 17079 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), envelope_gmp(), gmp_success(), gsad_message(), and set_http_status_from_entity().

| char* get_config_family_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get details of a family for a config, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7722 of file gsad_gmp.c.
References get_config_family().

| char* get_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a config, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7250 of file gsad_gmp.c.
References get_one(), gmp_arguments_add(), and gmp_arguments_new().

| char* get_config_nvt_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get details of an NVT for a config, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7844 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), envelope_gmp(), gsad_message(), and params_value().

| char* get_configs_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all scan configs, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7219 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_many(), gmp_arguments_add(), gmp_arguments_new(), params_given(), and params_value().

| char* get_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one credential, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3400 of file gsad_gmp.c.
References get_credential().

| char* get_credentials_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one or all credentials, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3644 of file gsad_gmp.c.
References get_many().

| char* get_feeds_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get descriptions of the feeds connected to the manager.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14065 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), envelope_gmp(), and gsad_message().

| char* get_filter_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one filter, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14271 of file gsad_gmp.c.
References get_filter().

| char* get_filters_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all filters, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14288 of file gsad_gmp.c.
References get_many().

| char* get_group_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one group, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12353 of file gsad_gmp.c.
References get_group().

| char* get_groups_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all groups, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12370 of file gsad_gmp.c.
References get_many().

| char* get_info | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| const char * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* get_info_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get info, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2968 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_entity(), get_many(), gmp_arguments_add(), gmp_arguments_new(), and params_value().

| char* get_note_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a note, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9283 of file gsad_gmp.c.
References get_note().

| char* get_notes_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all notes, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9240 of file gsad_gmp.c.
References get_many().

| char* get_nvt_families_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all nvt_families, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7911 of file gsad_gmp.c.
References get_entities().

| char* get_override_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get an override, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9686 of file gsad_gmp.c.
References get_override().

| char* get_overrides_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all overrides, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9643 of file gsad_gmp.c.
References get_many().

| char* get_permission_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one permission, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12652 of file gsad_gmp.c.
References get_permission().

| char* get_permissions_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all permissions, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12669 of file gsad_gmp.c.
References get_many().

| char* get_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one port_list, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13570 of file gsad_gmp.c.
References get_port_list().

| char* get_port_lists_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all port_lists, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13587 of file gsad_gmp.c.
References get_many().

| char* get_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one report format, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10878 of file gsad_gmp.c.
References get_report_format().

| char* get_report_formats_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all Report Formats, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10896 of file gsad_gmp.c.
References get_many().

| char* get_report_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a report and envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8867 of file gsad_gmp.c.
References get_report().

| char* get_reports_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all reports, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8990 of file gsad_gmp.c.
References FILT_ID_USER_SETTING, get_entities(), gmp_arguments_add(), gmp_arguments_new(), params_remove(), params_value(), and str_equal().

| char* get_result_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one result, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9222 of file gsad_gmp.c.
References get_one().

| char* get_results_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all results, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9190 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_many(), gmp_arguments_add(), gmp_arguments_new(), params_given(), and params_value().

| char* get_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one role, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13910 of file gsad_gmp.c.
References get_role().

| char* get_roles_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all roles, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13927 of file gsad_gmp.c.
References get_many().

| char* get_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one scanner, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9995 of file gsad_gmp.c.
References get_scanner().

| char* get_scanners_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all scanners, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9957 of file gsad_gmp.c.
References get_many().

| char* get_schedule_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one schedule, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10411 of file gsad_gmp.c.
References get_schedule().

| char* get_schedules_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all schedules, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10428 of file gsad_gmp.c.
References get_many().

| char* get_setting_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 15664 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), envelope_gmp(), gsad_message(), and params_value().

| char* get_settings_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all user defined settings.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15504 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), envelope_gmp(), gsad_message(), and params_value().

| char* get_slave_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* get_slaves_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* get_system_report_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| const char * | url, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Return system report image.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | url | URL of report image. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10736 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_content_length(), cmd_response_data_set_content_type(), GSAD_CONTENT_TYPE_IMAGE_PNG, and params_value().
Referenced by handle_system_report().


| char* get_system_reports_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all system reports, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10545 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), command_enabled(), envelope_gmp(), gsad_message(), and params_value().

| char* get_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one tag, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6622 of file gsad_gmp.c.
References get_tag().

| char* get_tags_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all tags, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6639 of file gsad_gmp.c.
References get_many().

| char* get_target_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one target, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6750 of file gsad_gmp.c.
References get_target().

| char* get_targets_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all targets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6767 of file gsad_gmp.c.
References get_many().

| char* get_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get a task, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3064 of file gsad_gmp.c.
References get_one().

| char* get_tasks_chart_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* get_tasks_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3020 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_many(), gmp_arguments_add(), gmp_arguments_new(), params_given(), and params_value().

| char* get_ticket_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get single tickets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16602 of file gsad_gmp.c.
References get_one().

| char* get_tickets_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all tickets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16584 of file gsad_gmp.c.
References get_many().

| char* get_tls_certificate_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get single TLS certificates, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16828 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_one(), gmp_arguments_add(), gmp_arguments_new(), params_given(), and params_value().

| char* get_tls_certificates_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all TLS certificates, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16797 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, get_many(), gmp_arguments_add(), gmp_arguments_new(), params_given(), and params_value().

| char* get_trash_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all trash, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 11498 of file gsad_gmp.c.
References get_trash().

| char* get_user_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get one user, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14728 of file gsad_gmp.c.
References get_user().

| char* get_users_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get all users, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14745 of file gsad_gmp.c.
References get_many().

| char* get_vulns_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get multiple vulns, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14935 of file gsad_gmp.c.
References get_many().

| void gmp_init | ( | const gchar * | manager_address_unix, |
| const gchar * | manager_address_tls, | ||
| int | port_manager | ||
| ) |
Init the GSA GMP library.
| [in] | manager_address_unix | Manager address when using UNIX socket. |
| [in] | manager_address_tls | Manager address when using TLS-TCP. |
| [in] | port_manager | Manager port. |
Definition at line 277 of file gsad_gmp.c.
References manager_address, manager_port, and manager_use_tls.
| char* import_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Import config, get all configs, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7147 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_value(), and response_from_entity().

| char* import_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Import port list, get all port_lists, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13720 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_value(), and response_from_entity().

| char* import_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Import report format, get all report formats, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10934 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_value(), and response_from_entity().

| int login | ( | http_connection_t * | con, |
| params_t * | params, | ||
| cmd_response_data_t * | response_data, | ||
| const char * | client_address | ||
| ) |
Login and create a session.
| [in] | con | HTTP Connection |
| [in] | params | Request parameters |
| [out] | response_data | Extra data return for the HTTP response |
| [in] | client_address | Client address |
Definition at line 17345 of file gsad_gmp.c.
References authenticate_gmp(), credentials_free(), credentials_new(), envelope_gmp(), GMP_SERVICE_DOWN, handler_create_response(), handler_send_reauthentication(), login(), LOGIN_ERROR, LOGIN_FAILED, params_original_value(), params_value(), user_add(), user_free(), and user_get_cookie().
Referenced by create_credential_gmp(), download_credential_gmp(), login(), save_credential_gmp(), and save_user_gmp().


| int manager_connect | ( | credentials_t * | credentials, |
| gvm_connection_t * | connection, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Connect to Greenbone Vulnerability Manager daemon.
| [in] | credentials | Username and password for authentication. |
| [out] | connection | Connection to Manager on success. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 17444 of file gsad_gmp.c.
References credentials_get_user(), gvm_connection_open(), manager_address, manager_port, user_get_password(), and user_get_username().
Referenced by handle_system_report().


| char* move_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Reassign a task to a new GMP slave.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2894 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_value(), and response_from_entity().

| char* new_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Returns page to create a new alert.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4903 of file gsad_gmp.c.
References new_alert().

| char* ping_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get assets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 17071 of file gsad_gmp.c.
References action_result().

| char* renew_session_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 17042 of file gsad_gmp.c.
References action_result(), credentials_get_user(), session_add_user(), user_get_session_timeout(), user_get_token(), and user_renew_session().

| char* report_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Run alert for a report.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 8884 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gsad_message(), params_given(), params_value(), and response_from_entity().

| char* restore_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Restore a resource, get all trash, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6184 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), params_value(), and response_from_entity().

| char* resume_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Resume a task, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2858 of file gsad_gmp.c.
References resource_action().

| char* run_wizard_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Run a wizard and envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 11291 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), and param::value.

| char* save_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a agent, get all agents, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4243 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify an alert, get all alerts, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5633 of file gsad_gmp.c.
References append_alert_condition_data(), append_alert_event_data(), append_alert_method_data(), CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), EVENT_TYPE_NEW_SECINFO, EVENT_TYPE_UPDATED_SECINFO, FILT_ID_NONE, gmp(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), str_equal(), and param::value.

| char* save_asset_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify an asset, get all assets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16508 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_auth_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save authentication settings.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15379 of file gsad_gmp.c.
References AUTH_CONF_SETTING, CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), message_invalid(), params_given(), params_value(), and response_from_entity().

| char* save_config_family_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Get details of an NVT for a config, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7757 of file gsad_gmp.c.
References check_modify_config(), CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), and params_values().

| char* save_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save details of an NVT for a config and return the next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7346 of file gsad_gmp.c.
References check_modify_config(), CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), member(), member1(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), save_osp_prefs(), param::value, and param::value_size.

| char* save_config_nvt_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save NVT prefs for a config, get NVT details, envelope result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 7929 of file gsad_gmp.c.
References action_result(), check_modify_config(), cmd_response_data_set_status_code(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), param::value, and param::value_size.

| char* save_container_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save container task, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2703 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_credential_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save credential, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 3680 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), login(), params_given(), params_value(), params_value_bool(), response_from_entity(), and str_equal().

| char* save_filter_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a filter, get all filters, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14436 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), params_value(), and response_from_entity().

| char* save_group_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a group, return the next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 12543 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), response_from_entity(), and users.

| char* save_my_settings_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| const gchar * | accept_language, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Returns page with user's settings, for editing.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [in] | accept_language | Accept-Language, from browser. |
| [out] | timezone | Timezone. Caller must free. |
| [out] | password | Password. Caller must free. |
| [out] | severity | Severity. Caller must free. |
| [out] | language | Language. Caller must free. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 11589 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), credentials_get_user(), envelope_gmp(), gmp_success(), gsad_message(), params_t, params_value(), params_values(), send_settings_filters(), session_add_user(), session_remove_other_sessions(), set_http_status_from_entity(), user_get_token(), user_get_username(), user_set_language(), user_set_password(), user_set_severity(), and user_set_timezone().

| char* save_note_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save note, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9543 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_hosts_from_params(), get_port_from_params(), get_result_id_from_params(), get_severity_from_params(), get_task_id_from_params(), gmpf(), gsad_message(), params_given(), params_value(), and response_from_entity().

| char* save_override_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save override, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 9846 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_hosts_from_params(), get_port_from_params(), get_result_id_from_params(), get_severity_from_params(), get_task_id_from_params(), gmpf(), gsad_message(), params_given(), params_value(), and response_from_entity().

| char* save_permission_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a permission, get all permissions, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13274 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_given(), params_value(), and response_from_entity().

| char* save_port_list_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a port list, get all port list, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13605 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save report_format, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 11010 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), param::value, and param::value_size.

| char* save_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a role, return the next page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 13981 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), response_from_entity(), and users.

| char* save_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save scanner, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10229 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), is_unix_socket(), params_given(), params_value(), and response_from_entity().

| char* save_schedule_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save schedule, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14554 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_setting_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save user setting.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15577 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_content_type(), cmd_response_data_set_status_code(), gmp(), GSAD_CONTENT_TYPE_APP_XML, gsad_message(), params_given(), params_value(), and response_from_entity().

| char* save_slave_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
| char* save_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a tag, get all tags, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6438 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), and param::value.

| char* save_target_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a target, get all targets, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6785 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), params_value(), response_from_entity(), and str_equal().

| char* save_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Save task, get next page, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2472 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_valid(), params_value(), params_values(), response_from_entity(), and param::value.

| char* save_ticket_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a ticket.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16696 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* save_tls_certificate_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a TLS certificate.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 16945 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), params_value_size(), and response_from_entity().

| char* save_user_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Modify a user, get all users, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15018 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), credentials_get_user(), gmp(), gmp_success(), gsad_message(), login(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), response_from_entity(), session_get_user_by_username(), session_remove_other_sessions(), str_equal(), user_get_token(), user_get_username(), user_set_password(), user_set_username(), and param::value.

| char* start_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Start a task, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2876 of file gsad_gmp.c.
References resource_action().

| char* stop_task_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Stop a task, get all tasks, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 2840 of file gsad_gmp.c.
References resource_action().

| char* sync_cert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Synchronize with a CERT feed and envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14226 of file gsad_gmp.c.
References sync_feed().

| char* sync_feed_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Synchronize with an NVT feed and envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14190 of file gsad_gmp.c.
References sync_feed().

| char* sync_scap_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Synchronize with a SCAP feed and envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 14208 of file gsad_gmp.c.
References sync_feed().

| char* test_alert_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Test an alert, get all alerts envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 5776 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gsad_message(), GSAD_STATUS_INVALID_REQUEST, params_value(), and response_from_entity().

| char* toggle_tag_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Set tag enabled status.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 6657 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gsad_message(), params_value(), and response_from_entity().

| char* verify_agent_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Verify agent, get agents, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 4377 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* verify_scanner_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Verify scanner, get scanners, envelope the result.
| [in] | connection | Connection to manager. |
| [in] | credentials | Username and password for authentication. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 10048 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* wizard_get_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Returns a wizard_get page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15948 of file gsad_gmp.c.
References wizard_get().

| char* wizard_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Returns a wizard page.
| [in] | connection | Connection to manager. |
| [in] | credentials | Credentials of user issuing the action. |
| [in] | params | Request parameters. |
| [out] | response_data | Extra data return for the HTTP response. |
Definition at line 15822 of file gsad_gmp.c.
References wizard().
