Greenbone Security Assistant
7.0.3~git
|
Headers for GSA's OMP communication module. More...
Go to the source code of this file.
Functions | |
void | omp_init (const gchar *, const gchar *, int) |
Init the GSA OMP library. More... | |
int | manager_connect (credentials_t *, openvas_connection_t *, cmd_response_data_t *) |
Connect to OpenVAS Manager daemon. More... | |
char * | logout (credentials_t *, const gchar *, cmd_response_data_t *) |
Setup edit_user XML, XSL transform the result. More... | |
void | cmd_response_data_init (cmd_response_data_t *) |
Initializes a cmd_response_data_t struct. More... | |
void | cmd_response_data_reset (cmd_response_data_t *) |
Clears a cmd_response_data_t struct. More... | |
char * | clone_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Clone a resource, XSL transform the result. More... | |
char * | create_report_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a report, get all tasks, XSL transform the result. More... | |
char * | upload_report_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the upload report page. More... | |
char * | import_report_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Import report, get all reports, XSL transform the result. More... | |
char * | create_container_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a container task, serve next page. More... | |
char * | create_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a task, get all tasks, XSL transform the result. More... | |
char * | delete_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a task, get all tasks, XSL transform the result. More... | |
char * | delete_trash_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash task, get all trash, XSL transform the result. More... | |
char * | edit_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_task XML, XSL transform the result. More... | |
char * | new_container_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new task. More... | |
char * | new_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new task. More... | |
char * | save_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save task, get next page, XSL transform the result. More... | |
char * | save_container_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save container task, get next page, XSL transform the result. More... | |
char * | resume_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Resume a task, get all tasks, XSL transform the result. More... | |
char * | start_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Start a task, get all tasks, XSL transform the result. More... | |
char * | stop_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Stop a task, get all tasks, XSL transform the result. More... | |
char * | move_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Reassign a task to a new OMP slave. More... | |
char * | get_task_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a task, XSL transform the result. More... | |
char * | get_tasks_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all tasks, XSL transform the result. More... | |
char * | get_tasks_chart_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a tasks chart, XSL transform the result. More... | |
char * | export_task_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a task. More... | |
char * | export_tasks_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of tasks. More... | |
char * | delete_report_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete report, get task status, XSL transform the result. More... | |
char * | get_report_omp (openvas_connection_t *, credentials_t *, params_t *, gsize *, gchar **, char **, cmd_response_data_t *) |
Get a report and XSL transform the result. More... | |
char * | get_reports_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all reports, XSL transform the result. More... | |
char * | get_report_section_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a report section, XSL transform the result. More... | |
char * | download_ssl_cert (openvas_connection_t *, credentials_t *, params_t *, gsize *, cmd_response_data_t *) |
Get an SSL Certificate. More... | |
char * | download_ca_pub (openvas_connection_t *, credentials_t *, params_t *, gsize *, cmd_response_data_t *) |
Get a Scanner's CA Certificate. More... | |
char * | download_key_pub (openvas_connection_t *, credentials_t *, params_t *, gsize *, cmd_response_data_t *) |
Get a Scanner's Certificate. More... | |
char * | export_result_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a result. More... | |
char * | export_results_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of results. More... | |
char * | get_result_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one result, XSL transform the result. More... | |
char * | get_results_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all results, XSL transform the result. More... | |
char * | new_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new alert. More... | |
char * | create_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create an alert, get all alerts, XSL transform the result. More... | |
char * | delete_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete an alert, get all alerts, XSL transform the result. More... | |
char * | delete_trash_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash alert, get all trash, XSL transform the result. More... | |
char * | test_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Test an alert, get all alerts XSL transform the result. More... | |
char * | get_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one alert, XSL transform the result. More... | |
char * | edit_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_alert XML, XSL transform the result. More... | |
char * | save_alert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify an alert, get all alerts, XSL transform the result. More... | |
char * | get_alerts_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all alerts, XSL transform the result. More... | |
char * | export_alert_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export an alert. More... | |
char * | export_alerts_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of alerts. More... | |
int | download_credential_omp (openvas_connection_t *, credentials_t *, params_t *, gsize *, char **, char **, cmd_response_data_t *) |
Export a Credential in a defined format. More... | |
char * | export_credential_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a Credential. More... | |
char * | export_credentials_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of Credentials. More... | |
char * | get_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one credential, XSL transform the result. More... | |
char * | get_credentials_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one or all credentials, XSL transform the result. More... | |
char * | new_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new Credential. More... | |
char * | create_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a credential, get all credentials, XSL transform result. More... | |
char * | delete_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete credential, get all credentials, XSL transform result. More... | |
char * | delete_trash_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash credential, get all trash, XSL transform the result. More... | |
char * | edit_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_credential XML, XSL transform the result. More... | |
char * | save_credential_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save credential, get next page, XSL transform the result. More... | |
char * | new_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new agent page. More... | |
char * | get_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one agent, XSL transform the result. More... | |
char * | get_agents_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all agents, XSL transform the result. More... | |
int | download_agent_omp (openvas_connection_t *, credentials_t *, params_t *, gsize *, char **, char **, cmd_response_data_t *) |
Get an agent, XSL transform the result. More... | |
char * | edit_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_agent XML, XSL transform the result. More... | |
char * | save_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a agent, get all agents, XSL transform the result. More... | |
char * | create_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create an agent, get all agents, XSL transform result. More... | |
char * | delete_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete agent, get all agents, XSL transform result. More... | |
char * | delete_trash_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash agent, get all agents, XSL transform the result. More... | |
char * | verify_agent_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Verify agent, get agents, XSL transform the result. More... | |
char * | export_agent_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a agent. More... | |
char * | export_agents_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of agents. More... | |
char * | get_aggregate_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get an aggregate of resources. More... | |
char * | create_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a scanner, get all scanners, XSL transform the result. More... | |
char * | new_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new scanner page. More... | |
char * | get_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one scanner, XSL transform the result. More... | |
char * | get_scanners_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all scanners, XSL transform the result. More... | |
char * | save_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save scanner, get next page, XSL transform the result. More... | |
char * | delete_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a scanner, get all scanners, XSL transform the result. More... | |
char * | delete_trash_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash scanner, get all scanners, XSL transform the result. More... | |
char * | edit_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_scanner XML, XSL transform the result. More... | |
char * | export_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a scanner. More... | |
char * | export_scanners_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of scanners. More... | |
char * | verify_scanner_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Verify scanner, get scanners, XSL transform the result. More... | |
char * | create_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a schedule, get all schedules, XSL transform the result. More... | |
char * | new_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new schedule page. More... | |
char * | delete_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a schedule, get all schedules, XSL transform the result. More... | |
char * | delete_trash_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash schedule, get all trash, XSL transform the result. More... | |
char * | edit_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_schedule XML, XSL transform the result. More... | |
char * | get_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one schedule, XSL transform the result. More... | |
char * | get_schedules_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all schedules, XSL transform the result. More... | |
char * | save_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save schedule, get next page, XSL transform the result. More... | |
char * | export_schedule_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a schedule. More... | |
char * | export_schedules_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of schedules. More... | |
char * | create_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a tag, get report, XSL transform the result. More... | |
char * | delete_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete note, get next page, XSL transform the result. More... | |
char * | delete_trash_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a note, get all notes, XSL transform the result. More... | |
char * | edit_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_tag XML, XSL transform the result. More... | |
char * | export_tags_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of tags. More... | |
char * | export_tag_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a tag. More... | |
char * | get_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one tag, XSL transform the result. More... | |
char * | get_tags_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all tags, XSL transform the result. More... | |
char * | new_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new target. More... | |
char * | save_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a tag, get all tags, XSL transform the result. More... | |
char * | toggle_tag_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Set tag enabled status. More... | |
char * | edit_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_target XML, XSL transform the result. More... | |
char * | get_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one target, XSL transform the result. More... | |
char * | get_targets_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all targets, XSL transform the result. More... | |
char * | export_targets_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of targets. More... | |
char * | export_target_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a target. More... | |
char * | create_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a target, get all targets, XSL transform the result. More... | |
char * | delete_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a target, get all targets, XSL transform the result. More... | |
char * | delete_trash_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash target, get all trash, XSL transform the result. More... | |
char * | new_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new target. More... | |
char * | save_target_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a target, get all targets, XSL transform the result. More... | |
char * | edit_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a config, XSL transform the result. More... | |
char * | get_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a config, XSL transform the result. More... | |
char * | get_configs_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all scan configs, XSL transform the result. More... | |
char * | new_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new scan config page. More... | |
char * | upload_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the upload scan config page. More... | |
char * | save_config_omp (openvas_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_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get details of a family for editing a config, XSL transform result. More... | |
char * | get_config_family_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get details of a family for a config, XSL transform the result. More... | |
char * | save_config_family_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get details of an NVT for a config, XSL transform the result. More... | |
char * | edit_config_nvt_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Edit details of an NVT for a config, XSL transform the result. More... | |
char * | get_config_nvt_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get details of an NVT for a config, XSL transform the result. More... | |
char * | save_config_nvt_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save NVT prefs for a config, get NVT details, XSL transform result. More... | |
char * | create_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create config, get all configs, XSL transform the result. More... | |
char * | import_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Import config, get all configs, XSL transform the result. More... | |
char * | delete_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete config, get all configs, XSL transform the result. More... | |
char * | delete_trash_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash config, get all trash, XSL transform the result. More... | |
char * | sync_config_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Sync config, get configs, XSL transform the result. More... | |
char * | export_config_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a config. More... | |
char * | export_configs_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of scan configs. More... | |
char * | export_preference_file_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a file preference. More... | |
char * | export_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a report format. More... | |
char * | export_report_formats_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of Report Formats. More... | |
char * | create_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a group, get all groups, XSL transform the result. More... | |
char * | delete_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a group, get all groups, XSL transform the result. More... | |
char * | delete_trash_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a group from trash, get all groups, XSL transform the result. More... | |
char * | edit_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_group XML, XSL transform the result. More... | |
char * | export_group_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a group. More... | |
char * | export_groups_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of groups. More... | |
char * | get_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one group, XSL transform the result. More... | |
char * | get_groups_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all groups, XSL transform the result. More... | |
char * | new_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new group. More... | |
char * | save_group_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a group, return the next page. More... | |
char * | get_notes_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all notes, XSL transform the result. More... | |
char * | get_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get a note, XSL transform the result. More... | |
char * | new_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new notes page. More... | |
char * | create_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a note, get report, XSL transform the result. More... | |
char * | delete_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete note, get next page, XSL transform the result. More... | |
char * | delete_trash_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a note, get all notes, XSL transform the result. More... | |
char * | edit_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Edit note, get next page, XSL transform the result. More... | |
char * | save_note_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save note, get next page, XSL transform the result. More... | |
char * | export_note_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a note. More... | |
char * | export_notes_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of notes. More... | |
char * | create_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a permission, get all permissions, XSL transform the result. More... | |
char * | create_permissions_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create multiple permission, get next page, XSL transform the result. More... | |
char * | delete_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a permission, get all permissions, XSL transform the result. More... | |
char * | delete_trash_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a permission, get all permissions, XSL transform the result. More... | |
char * | edit_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_permission XML, XSL transform the result. More... | |
char * | export_permission_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a permission. More... | |
char * | export_permissions_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of permissions. More... | |
char * | get_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one permission, XSL transform the result. More... | |
char * | get_permissions_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all permissions, XSL transform the result. More... | |
char * | new_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup new_permission XML, XSL transform the result. More... | |
char * | new_permissions_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup new_permission XML, XSL transform the result. More... | |
char * | save_permission_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a permission, get all permissions, XSL transform the result. More... | |
char * | create_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a port list, get all port lists, XSL transform the result. More... | |
char * | create_port_range_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Add a range to a port list, XSL transform the result. More... | |
char * | new_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new Port List page. More... | |
char * | new_port_range_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new Port Range page. More... | |
char * | upload_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the upload port list page. More... | |
char * | get_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one port_list, XSL transform the result. More... | |
char * | edit_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_port_list XML, XSL transform the result. More... | |
char * | save_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a port list, get all port list, XSL transform the result. More... | |
char * | get_port_lists_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all port_lists, XSL transform the result. More... | |
char * | delete_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a port list, get all port lists, XSL transform the result. More... | |
char * | delete_trash_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash port list, get all trash, XSL transform the result. More... | |
char * | delete_port_range_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a port range, get the port list, XSL transform the result. More... | |
char * | export_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a Port List. More... | |
char * | export_port_lists_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of Port Lists. More... | |
char * | import_port_list_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Import port list, get all port_lists, XSL transform the result. More... | |
char * | create_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a role, get all roles, XSL transform the result. More... | |
char * | delete_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a role, get all roles, XSL transform the result. More... | |
char * | delete_trash_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a role from trash, get all roles, XSL transform the result. More... | |
char * | edit_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_role XML, XSL transform the result. More... | |
char * | export_role_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a role. More... | |
char * | export_roles_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of roles. More... | |
char * | get_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one role, XSL transform the result. More... | |
char * | get_roles_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all roles, XSL transform the result. More... | |
char * | new_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new role. More... | |
char * | save_role_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a role, return the next page. More... | |
char * | get_overrides_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all overrides, XSL transform the result. More... | |
char * | get_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get an override, XSL transform the result. More... | |
char * | new_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new overrides page. More... | |
char * | create_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create an override, get report, XSL transform the result. More... | |
char * | delete_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete override, get next page, XSL transform the result. More... | |
char * | delete_trash_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a override, get all overrides, XSL transform the result. More... | |
char * | edit_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Edit override, get next page, XSL transform the result. More... | |
char * | save_override_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save override, get next page, XSL transform the result. More... | |
char * | export_override_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export an override. More... | |
char * | export_overrides_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of overrides. More... | |
char * | get_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | get_slaves_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | create_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | new_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | save_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | delete_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | delete_trash_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | edit_slave_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | export_slave_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
char * | export_slaves_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
char * | get_system_reports_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all system reports, XSL transform the result. More... | |
char * | get_system_report_omp (openvas_connection_t *, credentials_t *, const char *, params_t *, enum content_type *, gsize *, cmd_response_data_t *) |
Return system report image. More... | |
char * | get_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one report format, XSL transform the result. More... | |
char * | get_report_formats_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all Report Formats, XSL transform the result. More... | |
char * | new_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new report format page. More... | |
char * | delete_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete report format, get report formats, XSL transform the result. More... | |
char * | delete_trash_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a trash report format, get all trash, XSL transform the result. More... | |
char * | edit_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_report_format XML, XSL transform the result. More... | |
char * | import_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Import report format, get all report formats, XSL transform result. More... | |
char * | save_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save report_format, get next page, XSL transform the result. More... | |
char * | verify_report_format_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Verify report format, get report formats, XSL transform the result. More... | |
char * | get_feeds_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get descriptions of the feeds connected to the manager. More... | |
char * | sync_feed_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Synchronize with an NVT feed and XSL transform the result. More... | |
char * | sync_scap_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Synchronize with a SCAP feed and XSL transform the result. More... | |
char * | sync_cert_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Synchronize with a CERT feed and XSL transform the result. More... | |
char * | create_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a filter, get all filters, XSL transform the result. More... | |
char * | delete_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a filter, get all filters, XSL transform the result. More... | |
char * | delete_trash_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a filter, get all filters, XSL transform the result. More... | |
char * | edit_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_filter XML, XSL transform the result. More... | |
char * | export_filter_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a filter. More... | |
char * | export_filters_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of filters. More... | |
char * | get_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one filter, XSL transform the result. More... | |
char * | get_filters_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all filters, XSL transform the result. More... | |
char * | new_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new filter. More... | |
char * | save_filter_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify a filter, get all filters, XSL transform the result. More... | |
char * | create_user_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a user, get all users, XSL transform the result. More... | |
char * | delete_user_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete a user, get all users, XSL transform the result. More... | |
char * | delete_user_confirm_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Show confirmation deleting a user, XSL transform the result. More... | |
char * | edit_user_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_user XML, XSL transform the result. More... | |
char * | export_user_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a user. More... | |
char * | export_users_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of users. More... | |
char * | get_user_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get one user, XSL transform the result. More... | |
char * | get_users_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all users, XSL transform the result. More... | |
char * | new_user_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page to create a new user. More... | |
char * | save_user_omp (openvas_connection_t *, credentials_t *, params_t *, char **, char **, int *, cmd_response_data_t *) |
Modify a user, get all users, XSL transform the result. More... | |
char * | save_auth_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Save authentication settings. More... | |
char * | save_chart_preference_omp (openvas_connection_t *, credentials_t *, params_t *, gchar **, gchar **, cmd_response_data_t *) |
Save chart preferences. More... | |
char * | auth_settings_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | process_bulk_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Returns a process_bulk page. More... | |
char * | bulk_delete_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete multiple resources, get next page, XSL transform the result. More... | |
char * | run_wizard_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Run a wizard and XSL transform the result. More... | |
char * | wizard_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns a wizard page. More... | |
char * | wizard_get_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns a wizard_get page. More... | |
char * | cvss_calculator (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
char * | dashboard (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Show a dashboard. More... | |
char * | get_trash_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get all trash, XSL transform the result. More... | |
char * | restore_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Restore a resource, get all trash, XSL transform the result. More... | |
char * | empty_trashcan_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Empty the trashcan, get all trash, XSL transform the result. More... | |
char * | get_protocol_doc_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get OMP doc. More... | |
char * | export_omp_doc_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Download the OMP doc. More... | |
char * | edit_my_settings_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page with user's settings, for editing. More... | |
char * | get_my_settings_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Returns page with user's settings. More... | |
char * | save_my_settings_omp (openvas_connection_t *, credentials_t *, params_t *, const char *, char **, char **, char **, char **, cmd_response_data_t *) |
Returns page with user's settings, for editing. More... | |
int | authenticate_omp (const gchar *, const gchar *, gchar **, gchar **, gchar **, gchar **, gchar **, gchar **, GTree **, gchar **) |
Check authentication credentials. More... | |
char * | get_info_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get info, XSL transform the result. More... | |
char * | get_nvts_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Requests NVT details, accepting extra commands. More... | |
char * | get_info (openvas_connection_t *, credentials_t *, params_t *, const char *, cmd_response_data_t *) |
Requests SecInfo. More... | |
char * | new_host_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Return the new host page. More... | |
char * | create_asset_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create an asset, get report, XSL transform the result. More... | |
char * | create_host_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Create a host, serve next page. More... | |
char * | delete_asset_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Delete an asset, go to the next page. More... | |
char * | edit_asset_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Setup edit_asset XML, XSL transform the result. More... | |
char * | save_asset_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Modify an asset, get all assets, XSL transform the result. More... | |
char * | get_assets_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get assets, XSL transform the result. More... | |
char * | get_asset_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get asset, XSL transform the result. More... | |
char * | export_asset_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export an asset. More... | |
char * | export_assets_omp (openvas_connection_t *, credentials_t *, params_t *, enum content_type *, char **, gsize *, cmd_response_data_t *) |
Export a list of assets. More... | |
char * | get_assets_chart_omp (openvas_connection_t *, credentials_t *, params_t *, cmd_response_data_t *) |
Get an assets chart, XSL transform the result. More... | |
Headers for GSA's OMP communication module.
Definition in file gsad_omp.h.
char* auth_settings_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
Definition at line 25207 of file gsad_omp.c.
References CHECK_PARAM_INVALID, command_enabled(), and params_value().
int authenticate_omp | ( | const gchar * | username, |
const gchar * | password, | ||
gchar ** | role, | ||
gchar ** | timezone, | ||
gchar ** | severity, | ||
gchar ** | capabilities, | ||
gchar ** | language, | ||
gchar ** | pw_warning, | ||
GTree ** | chart_prefs, | ||
gchar ** | autorefresh | ||
) |
Check authentication credentials.
[in] | username | Username. |
[in] | password | Password. |
[out] | role | Role. |
[out] | timezone | Timezone. |
[out] | severity | Severity class. |
[out] | capabilities | Capabilities of manager. |
[out] | language | User Interface Language, or NULL. |
[out] | pw_warning | Password warning message, NULL if password is OK. |
[out] | chart_prefs | Chart preferences. |
[out] | autorefresh | Autorefresh preference. |
Definition at line 27622 of file gsad_omp.c.
References manager_address, manager_port, and openvas_connection_open().
char* bulk_delete_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete multiple resources, get next page, XSL transform 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 26639 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_add(), params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), and params_values().
char* clone_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Clone a resource, XSL transform 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 9629 of file gsad_omp.c.
References CHECK, gsad_message(), cmd_response_data_t::http_status_code, and params_value().
void cmd_response_data_init | ( | cmd_response_data_t * | data | ) |
Initializes a cmd_response_data_t struct.
[in] | data | The cmd_response_data_t struct to initialize |
Definition at line 348 of file gsad_omp.c.
References cmd_response_data_t::http_status_code, and cmd_response_data_t::redirect.
Referenced by exec_omp_post().
void cmd_response_data_reset | ( | cmd_response_data_t * | data | ) |
Clears a cmd_response_data_t struct.
[in] | data | Struct to reset. |
Definition at line 360 of file gsad_omp.c.
char* create_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create an agent, get all agents, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 6928 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_filename(), params_value(), and params_value_size().
char* create_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create an alert, get all alerts, XSL transform 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 8228 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* create_asset_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create an asset, get report, XSL transform 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 27071 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create config, get all configs, XSL transform 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 11379 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_container_task_omp | ( | openvas_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 4029 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a credential, get all credentials, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 5974 of file gsad_omp.c.
References CHECK_PARAM_INVALID, message_invalid(), params_given(), and params_value().
char* create_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a filter, get all filters, XSL transform 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 23837 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a group, get all groups, XSL transform 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 20278 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_value(), and users.
char* create_host_omp | ( | openvas_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 26804 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a note, get report, XSL transform 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 15465 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_original_value(), params_valid(), and params_value().
char* create_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create an override, get report, XSL transform 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 16148 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_original_value(), params_valid(), and params_value().
char* create_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a permission, get all permissions, XSL transform 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 20856 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* create_permissions_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create multiple permission, get next page, XSL transform 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 21507 of file gsad_omp.c.
References CHECK_PARAM, new_permission(), params_given(), and params_value().
char* create_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a port list, get all port lists, XSL transform 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 22447 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_port_range_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Add a range to a port list, XSL transform 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 22578 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a report, get all tasks, XSL transform 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 3854 of file gsad_omp.c.
References CHECK_PARAM_INVALID, message_invalid(), params_given(), and params_value().
Referenced by import_report_omp().
char* create_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a role, get all roles, XSL transform 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 23104 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_value(), and users.
char* create_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a scanner, get all scanners, XSL transform 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 16888 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* create_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a schedule, get all schedules, XSL transform 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 17425 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* create_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a tag, get report, XSL transform 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 10143 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* create_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a target, get all targets, XSL transform 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 9407 of file gsad_omp.c.
References CHECK_PARAM_INVALID, message_invalid(), and params_value().
char* create_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a task, get all tasks, XSL transform 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 4114 of file gsad_omp.c.
References CHECK, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_valid(), params_value(), params_values(), and param::value.
char* create_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Create a user, get all users, XSL transform 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 24882 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* cvss_calculator | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
Definition at line 25590 of file gsad_omp.c.
References params_value().
char* dashboard | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Show a dashboard.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 25685 of file gsad_omp.c.
References command_enabled(), credentials_t::guest, params_value(), cmd_response_data_t::redirect, and credentials_t::token.
char* delete_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete agent, get all agents, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 7073 of file gsad_omp.c.
References delete_resource().
char* delete_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete an alert, get all alerts, XSL transform 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 8376 of file gsad_omp.c.
References delete_resource().
char* delete_asset_omp | ( | openvas_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 27150 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_add(), params_get(), params_given(), params_value(), param::value, and param::value_size.
char* delete_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete config, get all configs, XSL transform 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 12878 of file gsad_omp.c.
References delete_resource().
char* delete_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete credential, get all credentials, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 6604 of file gsad_omp.c.
References delete_resource().
char* delete_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a filter, get all filters, XSL transform 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 23955 of file gsad_omp.c.
References init_find_by_value(), credentials_t::last_filt_ids, params_get(), and param::value.
char* delete_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a group, get all groups, XSL transform 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 20260 of file gsad_omp.c.
References delete_resource().
char* delete_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete note, get next page, XSL transform 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 15626 of file gsad_omp.c.
References delete_resource().
char* delete_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete override, get next page, XSL transform 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 16338 of file gsad_omp.c.
References delete_resource().
char* delete_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a permission, get all permissions, XSL transform 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 20655 of file gsad_omp.c.
References delete_resource().
char* delete_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a port list, get all port lists, XSL transform 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 22886 of file gsad_omp.c.
References delete_resource().
char* delete_port_range_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a port range, get the port list, XSL transform 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 22924 of file gsad_omp.c.
References delete_resource().
char* delete_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete report format, get report formats, XSL transform 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 18077 of file gsad_omp.c.
References delete_resource().
char* delete_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete report, get task status, XSL transform 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 13246 of file gsad_omp.c.
References delete_resource().
char* delete_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a role, get all roles, XSL transform 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 23086 of file gsad_omp.c.
References delete_resource().
char* delete_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a scanner, get all scanners, XSL transform 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 16987 of file gsad_omp.c.
References delete_resource().
char* delete_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a schedule, get all schedules, XSL transform 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 17558 of file gsad_omp.c.
References delete_resource().
char* delete_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* delete_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete note, get next page, XSL transform 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 10242 of file gsad_omp.c.
References delete_resource().
char* delete_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a target, get all targets, XSL transform 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 9763 of file gsad_omp.c.
References delete_resource().
char* delete_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a task, get all tasks, XSL transform 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 4478 of file gsad_omp.c.
References delete_resource().
char* delete_trash_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash agent, get all agents, XSL transform 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 9782 of file gsad_omp.c.
References delete_resource().
char* delete_trash_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash alert, get all trash, XSL transform 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 9820 of file gsad_omp.c.
References delete_resource().
char* delete_trash_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash config, get all trash, XSL transform 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 9801 of file gsad_omp.c.
References delete_resource().
char* delete_trash_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash credential, get all trash, XSL transform 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 9839 of file gsad_omp.c.
References delete_resource().
char* delete_trash_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a filter, get all filters, XSL transform 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 23936 of file gsad_omp.c.
References delete_resource().
char* delete_trash_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a group from trash, get all groups, XSL transform 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 20241 of file gsad_omp.c.
References delete_resource().
char* delete_trash_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a note, get all notes, XSL transform 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 15644 of file gsad_omp.c.
References delete_resource().
char* delete_trash_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a override, get all overrides, XSL transform 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 16357 of file gsad_omp.c.
References delete_resource().
char* delete_trash_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a permission, get all permissions, XSL transform 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 20636 of file gsad_omp.c.
References delete_resource().
char* delete_trash_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash port list, get all trash, XSL transform 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 22905 of file gsad_omp.c.
References delete_resource().
char* delete_trash_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash report format, get all trash, XSL transform 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 9858 of file gsad_omp.c.
References delete_resource().
char* delete_trash_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a role from trash, get all roles, XSL transform 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 23067 of file gsad_omp.c.
References delete_resource().
char* delete_trash_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash scanner, get all scanners, XSL transform 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 17006 of file gsad_omp.c.
References delete_resource().
char* delete_trash_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash schedule, get all trash, XSL transform 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 9877 of file gsad_omp.c.
References delete_resource().
char* delete_trash_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* delete_trash_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a note, get all notes, XSL transform 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 10260 of file gsad_omp.c.
References delete_resource().
char* delete_trash_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash target, get all trash, XSL transform 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 9896 of file gsad_omp.c.
References delete_resource().
char* delete_trash_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a trash task, get all trash, XSL transform 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 9915 of file gsad_omp.c.
References delete_resource().
char* delete_user_confirm_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Show confirmation deleting a user, XSL transform 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 24691 of file gsad_omp.c.
char* delete_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Delete a user, get all users, XSL transform 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 24604 of file gsad_omp.c.
References delete_resource().
int download_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | result_len, | ||
char ** | html, | ||
char ** | filename, | ||
cmd_response_data_t * | response_data | ||
) |
Get an agent, XSL transform the result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | result_len | Length of result. |
[out] | html | Result of XSL transformation. 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 7095 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* download_ca_pub | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | response_size, | ||
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. |
[in] | response_size | Size of cert. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14841 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
int download_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | result_len, | ||
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] | result_len | Length of result. |
[out] | html | Result of XSL transformation. 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 6328 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* download_key_pub | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | response_size, | ||
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. |
[in] | response_size | Size of cert. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14876 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* download_ssl_cert | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | response_size, | ||
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. |
[in] | response_size | Size of cert. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14798 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* edit_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_agent XML, XSL transform 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 7278 of file gsad_omp.c.
References edit_agent().
char* edit_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_alert XML, XSL transform 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 8945 of file gsad_omp.c.
References edit_alert().
char* edit_asset_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_asset XML, XSL transform 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 27403 of file gsad_omp.c.
References edit_asset().
char* edit_config_family_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get details of a family for editing a config, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12361 of file gsad_omp.c.
char* edit_config_nvt_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Edit details of an NVT for a config, XSL transform 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 12638 of file gsad_omp.c.
char* edit_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a config, XSL transform 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 11804 of file gsad_omp.c.
char* edit_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_credential XML, XSL transform 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 6661 of file gsad_omp.c.
char* edit_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_filter XML, XSL transform 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 24029 of file gsad_omp.c.
References edit_filter().
char* edit_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_group XML, XSL transform 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 20403 of file gsad_omp.c.
References edit_group().
char* edit_my_settings_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
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. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 19125 of file gsad_omp.c.
char* edit_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Edit note, get next page, XSL transform 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 15727 of file gsad_omp.c.
References edit_note().
char* edit_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Edit override, get next page, XSL transform 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 16440 of file gsad_omp.c.
References edit_override().
char* edit_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_permission XML, XSL transform 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 22189 of file gsad_omp.c.
References edit_permission().
char* edit_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_port_list XML, XSL transform 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 22782 of file gsad_omp.c.
char* edit_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_report_format XML, XSL transform 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 18134 of file gsad_omp.c.
char* edit_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_role XML, XSL transform 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 23305 of file gsad_omp.c.
char* edit_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_scanner XML, XSL transform 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 17108 of file gsad_omp.c.
References edit_scanner().
char* edit_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_schedule XML, XSL transform 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 24221 of file gsad_omp.c.
References edit_schedule().
char* edit_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* edit_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_tag XML, XSL transform 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 10356 of file gsad_omp.c.
References edit_tag().
char* edit_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_target XML, XSL transform 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 10849 of file gsad_omp.c.
References edit_target().
char* edit_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_task XML, XSL transform 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 4622 of file gsad_omp.c.
char* edit_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_user XML, XSL transform 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 25200 of file gsad_omp.c.
References edit_user().
char* empty_trashcan_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Empty the trashcan, get all trash, XSL transform 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 10011 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* export_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 7554 of file gsad_omp.c.
References export_resource().
char* export_agents_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 7579 of file gsad_omp.c.
char* export_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 9185 of file gsad_omp.c.
References export_resource().
char* export_alerts_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 9210 of file gsad_omp.c.
char* export_asset_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 27269 of file gsad_omp.c.
References export_resource().
char* export_assets_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 27294 of file gsad_omp.c.
char* export_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content dispositions return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12900 of file gsad_omp.c.
References export_resource().
char* export_configs_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12925 of file gsad_omp.c.
char* export_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 6517 of file gsad_omp.c.
References export_resource().
char* export_credentials_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 6543 of file gsad_omp.c.
char* export_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 24049 of file gsad_omp.c.
References export_resource().
char* export_filters_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 24074 of file gsad_omp.c.
char* export_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 20423 of file gsad_omp.c.
References export_resource().
char* export_groups_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 20448 of file gsad_omp.c.
char* export_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12948 of file gsad_omp.c.
References export_resource().
char* export_notes_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12972 of file gsad_omp.c.
char* export_omp_doc_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
cmd_response_data_t * | response_data | ||
) |
Download the OMP doc.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 20023 of file gsad_omp.c.
References GSAD_CONTENT_TYPE_APP_XML, gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* export_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12995 of file gsad_omp.c.
References export_resource().
char* export_overrides_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13021 of file gsad_omp.c.
char* export_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 22210 of file gsad_omp.c.
References export_resource().
char* export_permissions_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 22236 of file gsad_omp.c.
char* export_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13046 of file gsad_omp.c.
References export_resource().
char* export_port_lists_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13072 of file gsad_omp.c.
char* export_preference_file_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content dispositions return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13097 of file gsad_omp.c.
References GSAD_CONTENT_TYPE_OCTET_STREAM, gsad_message(), GSAD_MESSAGE_INVALID_PARAM, cmd_response_data_t::http_status_code, and params_value().
char* export_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13198 of file gsad_omp.c.
References export_resource().
char* export_report_formats_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 13224 of file gsad_omp.c.
char* export_result_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14915 of file gsad_omp.c.
References export_resource().
char* export_results_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14940 of file gsad_omp.c.
char* export_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 23400 of file gsad_omp.c.
References export_resource().
char* export_roles_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 23424 of file gsad_omp.c.
char* export_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 16678 of file gsad_omp.c.
References export_resource().
char* export_scanners_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 16703 of file gsad_omp.c.
char* export_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 24242 of file gsad_omp.c.
References export_resource().
char* export_schedules_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 24267 of file gsad_omp.c.
char* export_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
enum content_type * | , | ||
char ** | , | ||
gsize * | , | ||
cmd_response_data_t * | |||
) |
char* export_slaves_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
enum content_type * | , | ||
char ** | , | ||
gsize * | , | ||
cmd_response_data_t * | |||
) |
char* export_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 10482 of file gsad_omp.c.
References export_resource().
char* export_tags_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 10506 of file gsad_omp.c.
char* export_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 11205 of file gsad_omp.c.
References export_resource().
char* export_targets_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 11230 of file gsad_omp.c.
char* export_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 4993 of file gsad_omp.c.
References export_resource().
char* export_tasks_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 5017 of file gsad_omp.c.
char* export_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 25556 of file gsad_omp.c.
References export_resource().
char* export_users_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 25580 of file gsad_omp.c.
char* get_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one agent, XSL transform 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 7400 of file gsad_omp.c.
char* get_agents_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all agents, XSL transform 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 7437 of file gsad_omp.c.
char* get_aggregate_omp | ( | openvas_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 7599 of file gsad_omp.c.
References params_iterator_t, params_t, params_value(), and params_values().
char* get_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one alert, XSL transform 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 8564 of file gsad_omp.c.
char* get_alerts_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all alerts, XSL transform 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 8705 of file gsad_omp.c.
char* get_asset_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get asset, XSL transform 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 26975 of file gsad_omp.c.
char* get_assets_chart_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get an assets chart, XSL transform 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 27523 of file gsad_omp.c.
char* get_assets_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get assets, XSL transform 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 27054 of file gsad_omp.c.
char* get_config_family_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get details of a family for a config, XSL transform 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 12343 of file gsad_omp.c.
char* get_config_nvt_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get details of an NVT for a config, XSL transform 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 12620 of file gsad_omp.c.
char* get_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a config, XSL transform 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 11768 of file gsad_omp.c.
char* get_configs_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all scan configs, XSL transform 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 11564 of file gsad_omp.c.
char* get_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one credential, XSL transform 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 6306 of file gsad_omp.c.
char* get_credentials_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one or all credentials, XSL transform 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 6586 of file gsad_omp.c.
char* get_feeds_omp | ( | openvas_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 23536 of file gsad_omp.c.
References gsad_message(), and cmd_response_data_t::http_status_code.
char* get_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one filter, XSL transform 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 23758 of file gsad_omp.c.
char* get_filters_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all filters, XSL transform 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 23795 of file gsad_omp.c.
char* get_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one group, XSL transform 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 20145 of file gsad_omp.c.
char* get_groups_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all groups, XSL transform 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 20182 of file gsad_omp.c.
char* get_info | ( | openvas_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 5282 of file gsad_omp.c.
References command_enabled(), gsad_message(), cmd_response_data_t::http_status_code, params_add(), params_value(), param::valid, param::valid_utf8, and param::value.
Referenced by get_info_omp().
char* get_info_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get info, XSL transform 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 5410 of file gsad_omp.c.
References get_info().
char* get_my_settings_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page with user's 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 18916 of file gsad_omp.c.
References command_enabled().
char* get_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a note, XSL transform 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 15251 of file gsad_omp.c.
char* get_notes_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all notes, XSL transform 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 15214 of file gsad_omp.c.
char* get_nvts_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Requests NVT details, accepting extra commands.
[in] | connection | Connection to manager |
[in] | credentials | Credentials for the manager connection. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 5428 of file gsad_omp.c.
char* get_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get an override, XSL transform 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 15932 of file gsad_omp.c.
char* get_overrides_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all overrides, XSL transform 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 15895 of file gsad_omp.c.
char* get_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one permission, XSL transform 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 20580 of file gsad_omp.c.
char* get_permissions_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all permissions, XSL transform 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 20618 of file gsad_omp.c.
char* get_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one port_list, XSL transform 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 22689 of file gsad_omp.c.
char* get_port_lists_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all port_lists, XSL transform 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 22727 of file gsad_omp.c.
char* get_protocol_doc_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get OMP doc.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 19965 of file gsad_omp.c.
References gsad_message(), and cmd_response_data_t::http_status_code.
char* get_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one report format, XSL transform 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 17975 of file gsad_omp.c.
char* get_report_formats_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all Report Formats, XSL transform 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 18014 of file gsad_omp.c.
char* get_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gsize * | report_len, | ||
gchar ** | content_type, | ||
char ** | content_disposition, | ||
cmd_response_data_t * | response_data | ||
) |
Get a report and XSL transform the result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | report_len | Length of report. |
[out] | content_type | Content type if known, else NULL. |
[out] | content_disposition | Content disposition, if content_type set. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 14595 of file gsad_omp.c.
char* get_report_section_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a report section, XSL transform 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 14779 of file gsad_omp.c.
char* get_reports_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all reports, XSL transform 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 14648 of file gsad_omp.c.
char* get_result_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one result, XSL transform 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 15139 of file gsad_omp.c.
char* get_results_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all results, XSL transform 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 14988 of file gsad_omp.c.
char* get_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one role, XSL transform 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 23343 of file gsad_omp.c.
char* get_roles_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all roles, XSL transform 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 23380 of file gsad_omp.c.
char* get_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one scanner, XSL transform 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 16658 of file gsad_omp.c.
char* get_scanners_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all scanners, XSL transform 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 16621 of file gsad_omp.c.
char* get_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one schedule, XSL transform 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 17306 of file gsad_omp.c.
char* get_schedules_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all schedules, XSL transform 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 17343 of file gsad_omp.c.
char* get_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* get_slaves_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* get_system_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
const char * | url, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
gsize * | content_length, | ||
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] | content_type | Content type return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 17777 of file gsad_omp.c.
References GSAD_CONTENT_TYPE_IMAGE_PNG, and params_value().
char* get_system_reports_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all system reports, XSL transform 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 17577 of file gsad_omp.c.
References command_enabled(), gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* get_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one tag, XSL transform 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 10546 of file gsad_omp.c.
char* get_tags_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all tags, XSL transform 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 10583 of file gsad_omp.c.
char* get_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one target, XSL transform 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 10886 of file gsad_omp.c.
char* get_targets_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all targets, XSL transform 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 10923 of file gsad_omp.c.
char* get_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a task, XSL transform 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 5932 of file gsad_omp.c.
char* get_tasks_chart_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get a tasks chart, XSL transform 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 5578 of file gsad_omp.c.
char* get_tasks_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all tasks, XSL transform 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 5541 of file gsad_omp.c.
char* get_trash_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all trash, XSL transform 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 18839 of file gsad_omp.c.
char* get_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get one user, XSL transform 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 24779 of file gsad_omp.c.
char* get_users_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get all users, XSL transform 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 24865 of file gsad_omp.c.
char* import_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Import config, get all configs, XSL transform 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 11468 of file gsad_omp.c.
References params_value().
char* import_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Import port list, get all port_lists, XSL transform 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 22943 of file gsad_omp.c.
References params_value().
char* import_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Import report format, get all report formats, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 18153 of file gsad_omp.c.
References params_value().
char* import_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Import report, get all reports, XSL transform 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 4008 of file gsad_omp.c.
References create_report_omp().
char* logout | ( | credentials_t * | credentials, |
const gchar * | message, | ||
cmd_response_data_t * | response_data | ||
) |
Setup edit_user XML, XSL transform the result.
[in] | credentials | Username and password for authentication. |
[in] | message | Login screen message. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 25280 of file gsad_omp.c.
References ctime_r_strip_newline(), login_xml(), credentials_t::params, params_value(), credentials_t::token, token_user_remove(), and xsl_transform().
int manager_connect | ( | credentials_t * | credentials, |
openvas_connection_t * | connection, | ||
cmd_response_data_t * | response_data | ||
) |
Connect to OpenVAS Manager daemon.
If the Manager is down, logout and return the login HTML in html
.
[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 27835 of file gsad_omp.c.
References cmd_response_data_t::http_status_code, manager_address, manager_port, openvas_connection_open(), credentials_t::password, and credentials_t::username.
char* move_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Reassign a task to a new OMP 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 5091 of file gsad_omp.c.
References params_value().
char* new_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new agent 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 6911 of file gsad_omp.c.
char* new_alert_omp | ( | openvas_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 7993 of file gsad_omp.c.
char* new_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new scan config 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 11318 of file gsad_omp.c.
char* new_container_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new task.
[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 3773 of file gsad_omp.c.
char* new_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new Credential.
[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 6623 of file gsad_omp.c.
char* new_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new filter.
[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 24094 of file gsad_omp.c.
char* new_group_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new group.
[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 20224 of file gsad_omp.c.
char* new_host_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new host 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 26787 of file gsad_omp.c.
char* new_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new notes 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 15448 of file gsad_omp.c.
References new_note().
char* new_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new overrides 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 16131 of file gsad_omp.c.
References new_override().
char* new_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup new_permission XML, XSL transform 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 20838 of file gsad_omp.c.
References new_permission().
char* new_permissions_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Setup new_permission XML, XSL transform 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 21489 of file gsad_omp.c.
References new_permissions().
char* new_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new Port List 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 22745 of file gsad_omp.c.
char* new_port_range_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new Port Range 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 22560 of file gsad_omp.c.
char* new_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new report format 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 18058 of file gsad_omp.c.
char* new_role_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new role.
[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 23050 of file gsad_omp.c.
char* new_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new scanner 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 16775 of file gsad_omp.c.
char* new_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the new schedule 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 17408 of file gsad_omp.c.
char* new_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* new_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new target.
[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 10126 of file gsad_omp.c.
char* new_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new target.
[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 9390 of file gsad_omp.c.
char* new_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new task.
[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 3722 of file gsad_omp.c.
char* new_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Returns page to create a new user.
[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 24587 of file gsad_omp.c.
void omp_init | ( | const gchar * | manager_address_unix, |
const gchar * | manager_address_tls, | ||
int | port_manager | ||
) |
Init the GSA OMP 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 319 of file gsad_omp.c.
References manager_address, manager_port, and manager_use_tls.
char* process_bulk_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
enum content_type * | content_type, | ||
char ** | content_disposition, | ||
gsize * | content_length, | ||
cmd_response_data_t * | response_data | ||
) |
Returns a process_bulk page.
[in] | connection | Connection to manager |
[in] | credentials | Credentials of user issuing the action. |
[in] | params | Request parameters. |
[out] | content_type | Content type return. |
[out] | content_disposition | Content disposition return. |
[out] | content_length | Content length return. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 26347 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_add(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_valid(), params_value(), params_values(), param::valid, param::valid_utf8, and param::value.
char* restore_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Restore a resource, get all trash, XSL transform 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 9934 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* resume_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Resume a task, get all tasks, XSL transform 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 5055 of file gsad_omp.c.
References resource_action().
char* run_wizard_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Run a wizard and XSL transform 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 18630 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* save_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a agent, get all agents, XSL transform 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 7295 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify an alert, get all alerts, XSL transform 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 8962 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* save_asset_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify an asset, get all assets, XSL transform 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 27421 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_auth_omp | ( | openvas_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 25868 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* save_chart_preference_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
gchar ** | pref_id, | ||
gchar ** | pref_value, | ||
cmd_response_data_t * | response_data | ||
) |
Save chart preferences.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[in] | pref_id | Preference ID. |
[in] | pref_value | Preference value. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 26000 of file gsad_omp.c.
References cmd_response_data_t::http_status_code, and params_value().
char* save_config_family_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Get details of an NVT for a config, XSL transform 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 12379 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), and params_values().
char* save_config_nvt_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save NVT prefs for a config, get NVT details, XSL transform result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 12656 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), param::value, and param::value_size.
char* save_config_omp | ( | openvas_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 11952 of file gsad_omp.c.
References CHECK_PARAM_INVALID, gsad_message(), cmd_response_data_t::http_status_code, params_t, and params_value().
char* save_container_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save container task, get next page, XSL transform 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 4887 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_credential_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save credential, get next page, XSL transform 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 6679 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* save_filter_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a filter, get all filters, XSL transform 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 24111 of file gsad_omp.c.
References CHECK_PARAM_INVALID, gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* save_group_omp | ( | openvas_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 20468 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_value(), and users.
char* save_my_settings_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
const char * | accept_language, | ||
char ** | timezone, | ||
char ** | password, | ||
char ** | severity, | ||
char ** | 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 19221 of file gsad_omp.c.
References params_t, params_value(), and params_values().
char* save_note_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save note, get next page, XSL transform 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 15744 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_original_value(), params_valid(), and params_value().
char* save_override_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save override, get next page, XSL transform 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 16457 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_original_value(), params_valid(), and params_value().
char* save_permission_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a permission, get all permissions, XSL transform 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 22258 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* save_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a port list, get all port list, XSL transform 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 22800 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save report_format, get next page, XSL transform 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 18232 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* save_role_omp | ( | openvas_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 23444 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_value(), and users.
char* save_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save scanner, get next page, XSL transform 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 17125 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), and params_value().
char* save_schedule_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save schedule, get next page, XSL transform 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 24288 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_slave_omp | ( | openvas_connection_t * | , |
credentials_t * | , | ||
params_t * | , | ||
cmd_response_data_t * | |||
) |
char* save_tag_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a tag, get all tags, XSL transform 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 10373 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_target_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a target, get all targets, XSL transform 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 10940 of file gsad_omp.c.
References CHECK_PARAM_INVALID, and params_value().
char* save_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Save task, get next page, XSL transform 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 4639 of file gsad_omp.c.
References CHECK, CHECK_PARAM_INVALID, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_valid(), params_value(), params_values(), and param::value.
char* save_user_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
char ** | password_return, | ||
char ** | modified_user, | ||
int * | logout_user, | ||
cmd_response_data_t * | response_data | ||
) |
Modify a user, get all users, XSL transform the result.
[in] | connection | Connection to manager |
[in] | credentials | Username and password for authentication. |
[in] | params | Request parameters. |
[out] | password_return | Password. Caller must free. |
[out] | modified_user | Name of user modified. Caller must free. |
[out] | logout_user | Whether the user should be logged out. |
[out] | response_data | Extra data return for the HTTP response. |
Definition at line 25325 of file gsad_omp.c.
References CHECK_PARAM_INVALID, params_given(), params_iterator_init, params_iterator_next(), params_iterator_t, params_t, params_value(), params_values(), and param::value.
char* start_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Start a task, get all tasks, XSL transform 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 5073 of file gsad_omp.c.
References resource_action().
char* stop_task_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Stop a task, get all tasks, XSL transform 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 5037 of file gsad_omp.c.
References resource_action().
char* sync_cert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Synchronize with a CERT feed and XSL transform 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 23716 of file gsad_omp.c.
char* sync_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Sync config, get configs, XSL transform 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 11821 of file gsad_omp.c.
References CHECK_PARAM, and params_value().
char* sync_feed_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Synchronize with an NVT feed and XSL transform 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 23678 of file gsad_omp.c.
char* sync_scap_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Synchronize with a SCAP feed and XSL transform 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 23697 of file gsad_omp.c.
char* test_alert_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Test an alert, get all alerts XSL transform 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 9112 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* toggle_tag_omp | ( | openvas_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 10600 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* upload_config_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the upload scan config 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 11362 of file gsad_omp.c.
char* upload_port_list_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the upload port list 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 22428 of file gsad_omp.c.
char* upload_report_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Return the upload report 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 3837 of file gsad_omp.c.
char* verify_agent_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Verify agent, get agents, XSL transform 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 7454 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* verify_report_format_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Verify report format, get report formats, XSL transform 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 18529 of file gsad_omp.c.
References gsad_message(), cmd_response_data_t::http_status_code, and params_value().
char* verify_scanner_omp | ( | openvas_connection_t * | connection, |
credentials_t * | credentials, | ||
params_t * | params, | ||
cmd_response_data_t * | response_data | ||
) |
Verify scanner, get scanners, XSL transform 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 16792 of file gsad_omp.c.
References CHECK_PARAM, and params_value().
char* wizard_get_omp | ( | openvas_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 26327 of file gsad_omp.c.
char* wizard_omp | ( | openvas_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 26201 of file gsad_omp.c.