Greenbone Vulnerability Management Libraries
11.0.0
|
Go to the documentation of this file.
29 #include "../util/xmlutils.h"
112 const char *,
char **);
int parallel
Number of parallel scans.
Definition: osp.h:119
osp_scan_status_t
OSP scan status.
Definition: osp.h:61
void osp_vt_single_add_value(osp_vt_single_t *, const char *, const char *)
const char * osp_param_id(const osp_param_t *)
Get an OSP parameter's id.
Definition: osp.c:1204
const char * osp_param_type_str(const osp_param_t *)
Get an OSP parameter in string format form its type.
Definition: osp.c:1099
osp_connection_t * osp_connection_new(const char *, int, const char *, const char *, const char *)
GHashTable * scanner_params
Table of scanner parameters.
Definition: osp.h:118
int osp_delete_scan(osp_connection_t *, const char *)
Delete a scan from an OSP server.
Definition: osp.c:429
void osp_credential_set_auth_data(osp_credential_t *, const char *, const char *)
Get authentication data from an OSP credential.
Definition: osp.c:1359
int osp_get_performance_ext(osp_connection_t *, osp_get_performance_opts_t, char **, char **)
Get performance graphics from an OSP server.
Definition: osp.c:464
void osp_param_free(osp_param_t *)
Free an OSP parameter.
Definition: osp.c:1277
const char * scan_id
UUID of the scan which get the status from.
Definition: osp.h:72
const char * scan_id
UUID to set for scan, null otherwise.
Definition: osp.h:120
int osp_start_scan_ext(osp_connection_t *, osp_start_scan_opts_t, char **)
Start an OSP scan against a target.
Definition: osp.c:938
int osp_start_scan(osp_connection_t *, const char *, const char *, GHashTable *, const char *, char **)
Start an OSP scan against a target.
Definition: osp.c:758
int osp_get_vts_version(osp_connection_t *, char **)
Get the VTs version from an OSP server.
Definition: osp.c:334
int osp_get_vts_ext(osp_connection_t *, osp_get_vts_opts_t, entity_t *)
Get filtered set of VTs from an OSP server.
Definition: osp.c:400
void osp_vt_group_free(osp_vt_group_t *)
int osp_get_version(osp_connection_t *, char **, char **, char **, char **, char **, char **)
Get the scanner version from an OSP server.
Definition: osp.c:250
char * filter
the filter to apply for a vt sub-selection.
Definition: osp.h:104
int osp_stop_scan(osp_connection_t *, const char *, char **)
Stop a scan on an OSP server.
Definition: osp.c:679
GSList * vt_groups
VT groups to use for the scan.
Definition: osp.h:116
const char * osp_param_default(const osp_param_t *)
Get an OSP parameter's default value.
Definition: osp.c:1249
const gchar * osp_credential_get_auth_data(osp_credential_t *, const char *)
Get authentication data from an OSP credential.
Definition: osp.c:1343
void osp_vt_single_free(osp_vt_single_t *)
void osp_target_free(osp_target_t *)
const char * osp_param_name(const osp_param_t *)
Get an OSP parameter's name.
Definition: osp.c:1219
int osp_get_scanner_details(osp_connection_t *, char **, GSList **)
Get an OSP scanner's details.
Definition: osp.c:1135
osp_credential_t * osp_credential_new(const char *, const char *, const char *)
Allocate and initialize a new OSP credential.
Definition: osp.c:1299
Struct holding options for OSP parameters.
Definition: osp.c:60
const char * osp_param_desc(const osp_param_t *)
Get an OSP parameter's description.
Definition: osp.c:1234
void osp_connection_close(osp_connection_t *)
Close a connection to an OSP server.
Definition: osp.c:223
osp_vt_single_t * osp_vt_single_new(const char *)
void osp_credential_free(osp_credential_t *)
Free an OSP credential.
Definition: osp.c:1322
osp_target_t * osp_target_new(const char *, const char *, const char *)
XML element.
Definition: xmlutils.h:65
osp_param_type_t
OSP parameter types.
Definition: osp.h:46
int osp_get_scan_pop(osp_connection_t *, const char *, char **, int, int, char **)
Get a scan from an OSP server, optionally removing the results.
Definition: osp.c:597
int osp_get_vts(osp_connection_t *, entity_t *)
Get all VTs from an OSP server.
Definition: osp.c:376
Struct credential information for OSP.
Definition: osp.c:73
int osp_get_scan(osp_connection_t *, const char *, char **, int, char **)
Get a scan from an OSP server.
Definition: osp.c:663
GSList * targets
Target hosts to scan.
Definition: osp.h:115
Struct holding vt_group information.
Definition: osp.c:103
Struct holding target information.
Definition: osp.c:84
osp_scan_status_t osp_get_scan_status_ext(osp_connection_t *, osp_get_scan_status_opts_t, char **)
Get a scan status from an OSP server.
Definition: osp.c:530
int osp_param_mandatory(const osp_param_t *)
Get an OSP parameter's mandatory value.
Definition: osp.c:1264
Struct holding options for OSP connection.
Definition: osp.c:49
osp_param_t * osp_param_new(void)
Create a new OSP parameter.
Definition: osp.c:1191
GSList * vts
Single VTs to use for the scan.
Definition: osp.h:117
osp_vt_group_t * osp_vt_group_new(const char *)
Struct holding vt_group information.
Definition: osp.c:95
void osp_target_add_credential(osp_target_t *, osp_credential_t *)