|
Greenbone Security Assistant
8.0.0
|
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 * | import_report_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Import report, get all reports, envelope the result. 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 * | edit_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Get a config, 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 * | edit_config_nvt_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Edit 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 * | sync_config_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Sync config, get 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 * | 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 * | edit_role_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Setup edit_role XML, 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 * | verify_report_format_gmp (gvm_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
| Verify report format, get report formats, 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 *) |
| Requests SecInfo. More... | |
| 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 *) |
| Get assets, envelope the result. 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 * | 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 17238 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 18260 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 18366 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 6868 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 4436 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 5688 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, 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 18674 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 7884 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 2401 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 3585 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 16486 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp_success(), gmpf(), gsad_message(), params_add(), params_value(), response_from_entity(), param::valid, param::valid_utf8, and param::value.

| 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 14153 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 18420 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 10971 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 11262 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 14466 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_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 14785 of file gsad_gmp.c.
References action_result(), CHECK_GMPF_RET, 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_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 15372 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 15453 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. |
| [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 2245 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), gmp(), gsad_message(), message_invalid(), params_given(), 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 15817 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 11692 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 12038 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 7095 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 6668 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 2481 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 18983 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_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 17039 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 17574 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 4571 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 5824 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 18748 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 9360 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 4179 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 16578 of file gsad_gmp.c.
References move_resource_to_trash(), params_get(), and param::value.

| 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 2042 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 14135 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 11070 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 11387 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 14448 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 15689 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 15707 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 12566 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 9661 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 15799 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 11788 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 12119 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 7210 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 6955 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 2810 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 19142 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 16843 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 4592 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 10605 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 3917 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 10638 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 10564 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 6410 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 8862 of file gsad_gmp.c.
References get_config_family().

| char* edit_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 8309 of file gsad_gmp.c.
References edit_config().

| char* edit_config_nvt_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Edit 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 9125 of file gsad_gmp.c.
References get_config_nvt().

| char* edit_role_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Setup edit_role 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 16020 of file gsad_gmp.c.
References edit_role().

| 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 7040 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 4981 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 5000 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 6632 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 6651 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 18835 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 18854 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 9378 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 9397 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 4103 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 4122 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 16605 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 16624 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 14254 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 14273 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 9414 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 9433 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 9450 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 9469 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 15228 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 15247 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 9488 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 9507 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 9525 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 9622 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 9642 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 10673 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 10692 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 16111 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 16130 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 11590 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 11608 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 16723 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 16741 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 7356 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 7375 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 7848 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 7867 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 3160 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 3179 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 17548 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 17567 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 4852 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 4889 of file gsad_gmp.c.
References get_agents().

| 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 5017 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), envelope_gmp(), 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(), 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 6021 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 6164 of file gsad_gmp.c.
References get_alerts().

| 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 18580 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 | ||
| ) |
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 18657 of file gsad_gmp.c.
References get_assets().

| 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 8845 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 8273 of file gsad_gmp.c.
References get_config().

| 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 9108 of file gsad_gmp.c.
References get_config_nvt().

| 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 8059 of file gsad_gmp.c.
References get_configs().

| 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 3897 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 4162 of file gsad_gmp.c.
References get_credentials().

| 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 16231 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 16432 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 16469 of file gsad_gmp.c.
References get_filters().

| 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 14081 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 14118 of file gsad_gmp.c.
References get_groups().

| char* get_info | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| const char * | extra_xml, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Requests SecInfo.
| [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 3325 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), command_enabled(), get_many(), gsad_message(), params_add(), params_value(), simple_gmpf(), param::valid, param::valid_utf8, and param::value.
Referenced by get_info_gmp().


| 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 3443 of file gsad_gmp.c.
References get_info().

| 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 10828 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 10791 of file gsad_gmp.c.
References get_notes().

| 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 11245 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 11208 of file gsad_gmp.c.
References get_overrides().

| 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 14394 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 14431 of file gsad_gmp.c.
References get_permissions().

| 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 15556 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 15593 of file gsad_gmp.c.
References get_port_lists().

| 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 12509 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 12547 of file gsad_gmp.c.
References get_report_formats().

| 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 10397 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 10547 of file gsad_gmp.c.
References get_reports().

| 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 10753 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 10736 of file gsad_gmp.c.
References get_results().

| 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 16057 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 16094 of file gsad_gmp.c.
References get_roles().

| 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 11573 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 11536 of file gsad_gmp.c.
References get_scanners().

| 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 11984 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 12021 of file gsad_gmp.c.
References get_schedules().

| char* get_setting_gmp | ( | gvm_connection_t * | , |
| credentials_t * | , | ||
| params_t * | , | ||
| cmd_response_data_t * | |||
| ) |
Definition at line 17959 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 17799 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 12328 of file gsad_gmp.c.
References 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 12137 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 7412 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 7449 of file gsad_gmp.c.
References get_tags().

| 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 7554 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 7591 of file gsad_gmp.c.
References get_targets().

| 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 3567 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 3550 of file gsad_gmp.c.
References get_tasks().

| 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 18965 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 18947 of file gsad_gmp.c.
References get_many().

| 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 13226 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 16933 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 17022 of file gsad_gmp.c.
References get_users().

| 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 17211 of file gsad_gmp.c.
References get_vulns().

| 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 368 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 7967 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 15725 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 12585 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmp(), gsad_message(), params_add(), params_value(), and response_from_entity().

| char* import_report_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Import report, 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 2384 of file gsad_gmp.c.
References create_report_gmp().

| 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 19384 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 19475 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), 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 3250 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 5418 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 19179 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 19150 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 10414 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 6974 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 3214 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 13019 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 4753 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 6427 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, 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 18871 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 17674 of file gsad_gmp.c.
References AUTH_CONF_SETTING, CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_users(), gmpf(), gsad_message(), GSAD_MESSAGE_INVALID_PARAM, 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 8880 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 8453 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 9142 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 3059 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 4197 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 16641 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 14290 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 13317 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 11088 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 11405 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 15266 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 15610 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 12661 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 16147 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 11806 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 16759 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 17872 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 7228 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 7608 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 2828 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 19059 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_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 17313 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 3232 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 3196 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 16392 of file gsad_gmp.c.
References sync_feed().

| char* sync_config_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Sync config, get 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 8326 of file gsad_gmp.c.
References CHECK_VARIABLE_INVALID, cmd_response_data_set_status_code(), get_configs(), gsad_message(), and params_value().

| 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 16356 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 16374 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 6566 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 7466 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 4906 of file gsad_gmp.c.
References cmd_response_data_set_status_code(), gmpf(), gsad_message(), params_value(), and response_from_entity().

| char* verify_report_format_gmp | ( | gvm_connection_t * | connection, |
| credentials_t * | credentials, | ||
| params_t * | params, | ||
| cmd_response_data_t * | response_data | ||
| ) |
Verify 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 12939 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 11626 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 18243 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 18117 of file gsad_gmp.c.
References wizard().
