Greenbone Vulnerability Management Libraries
11.0.0
|
Go to the documentation of this file.
29 #include "../util/xmlutils.h"
112 const char *,
char **);
@ OSP_SCAN_STATUS_FINISHED
int parallel
Number of parallel scans.
osp_scan_status_t
OSP scan status.
void osp_vt_single_add_value(osp_vt_single_t *, const char *, const char *)
@ OSP_SCAN_STATUS_RUNNING
const char * osp_param_id(const osp_param_t *)
Get an OSP parameter's id.
@ OSP_PARAM_TYPE_SELECTION
@ OSP_PARAM_TYPE_OVALDEF_FILE
const char * osp_param_type_str(const osp_param_t *)
Get an OSP parameter in string format form its type.
osp_connection_t * osp_connection_new(const char *, int, const char *, const char *, const char *)
GHashTable * scanner_params
Table of scanner parameters.
int osp_delete_scan(osp_connection_t *, const char *)
Delete a scan from an OSP server.
void osp_credential_set_auth_data(osp_credential_t *, const char *, const char *)
Get authentication data from an OSP credential.
int osp_get_performance_ext(osp_connection_t *, osp_get_performance_opts_t, char **, char **)
Get performance graphics from an OSP server.
void osp_param_free(osp_param_t *)
Free an OSP parameter.
const char * scan_id
UUID of the scan which get the status from.
const char * scan_id
UUID to set for scan, null otherwise.
int osp_start_scan_ext(osp_connection_t *, osp_start_scan_opts_t, char **)
Start an OSP scan against a target.
int osp_start_scan(osp_connection_t *, const char *, const char *, GHashTable *, const char *, char **)
Start an OSP scan against a target.
int osp_get_vts_version(osp_connection_t *, char **)
Get the VTs version from an OSP server.
int osp_get_vts_ext(osp_connection_t *, osp_get_vts_opts_t, entity_t *)
Get filtered set of VTs from an OSP server.
@ OSP_PARAM_TYPE_PASSWORD
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.
char * filter
the filter to apply for a vt sub-selection.
int osp_stop_scan(osp_connection_t *, const char *, char **)
Stop a scan on an OSP server.
GSList * vt_groups
VT groups to use for the scan.
const char * osp_param_default(const osp_param_t *)
Get an OSP parameter's default value.
const gchar * osp_credential_get_auth_data(osp_credential_t *, const char *)
Get authentication data from an OSP credential.
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.
int osp_get_scanner_details(osp_connection_t *, char **, GSList **)
Get an OSP scanner's details.
osp_credential_t * osp_credential_new(const char *, const char *, const char *)
Allocate and initialize a new OSP credential.
Struct holding options for OSP parameters.
const char * osp_param_desc(const osp_param_t *)
Get an OSP parameter's description.
void osp_connection_close(osp_connection_t *)
Close a connection to an OSP server.
osp_vt_single_t * osp_vt_single_new(const char *)
void osp_credential_free(osp_credential_t *)
Free an OSP credential.
osp_target_t * osp_target_new(const char *, const char *, const char *)
osp_param_type_t
OSP parameter types.
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.
int osp_get_vts(osp_connection_t *, entity_t *)
Get all VTs from an OSP server.
Struct credential information for OSP.
int osp_get_scan(osp_connection_t *, const char *, char **, int, char **)
Get a scan from an OSP server.
GSList * targets
Target hosts to scan.
Struct holding vt_group information.
Struct holding target information.
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.
int osp_param_mandatory(const osp_param_t *)
Get an OSP parameter's mandatory value.
@ OSP_SCAN_STATUS_STOPPED
Struct holding options for OSP connection.
osp_param_t * osp_param_new(void)
Create a new OSP parameter.
GSList * vts
Single VTs to use for the scan.
osp_vt_group_t * osp_vt_group_new(const char *)
Struct holding vt_group information.
void osp_target_add_credential(osp_target_t *, osp_credential_t *)