Greenbone Vulnerability Management Libraries 22.32.0
gmp_create_task_opts_t Struct Reference

Struct holding options for gmp create_task command. More...

#include <gmp.h>

Collaboration diagram for gmp_create_task_opts_t:
Collaboration graph

Data Fields

array_talert_ids
 Array of alert IDs.
const char * config_id
 ID of config.
const char * scanner_id
 ID of task scanner.
const char * schedule_id
 ID of task schedule.
const char * slave_id
 ID of task schedule.
const char * target_id
 ID of target.
const char * name
 Name of task.
const char * comment
 Comment on task.
const char * hosts_ordering
 Order for scanning target hosts.
const char * observers
 Comma-separated string of observer users.
array_tobserver_groups
 IDs of observer groups.
int schedule_periods
 Number of periods the schedule must run for.
const char * in_assets
 In assets preference.
const char * max_hosts
 Max hosts preference.
const char * max_checks
 Max checks preference.
const char * source_iface
 Source iface preference.
int alterable
 Whether the task is alterable.

Detailed Description

Struct holding options for gmp create_task command.

Definition at line 160 of file gmp.h.

Field Documentation

◆ alert_ids

array_t* gmp_create_task_opts_t::alert_ids

Array of alert IDs.

Definition at line 162 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ alterable

int gmp_create_task_opts_t::alterable

Whether the task is alterable.

Definition at line 180 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ comment

const char* gmp_create_task_opts_t::comment

Comment on task.

Definition at line 169 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ config_id

const char* gmp_create_task_opts_t::config_id

ID of config.

Definition at line 163 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ hosts_ordering

const char* gmp_create_task_opts_t::hosts_ordering

Order for scanning target hosts.

Definition at line 170 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ in_assets

const char* gmp_create_task_opts_t::in_assets

In assets preference.

Definition at line 175 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ max_checks

const char* gmp_create_task_opts_t::max_checks

Max checks preference.

Definition at line 177 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ max_hosts

const char* gmp_create_task_opts_t::max_hosts

Max hosts preference.

Definition at line 176 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ name

const char* gmp_create_task_opts_t::name

Name of task.

Definition at line 168 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ observer_groups

array_t* gmp_create_task_opts_t::observer_groups

IDs of observer groups.

Definition at line 172 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ observers

const char* gmp_create_task_opts_t::observers

Comma-separated string of observer users.

Definition at line 171 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ scanner_id

const char* gmp_create_task_opts_t::scanner_id

ID of task scanner.

Definition at line 164 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ schedule_id

const char* gmp_create_task_opts_t::schedule_id

ID of task schedule.

Definition at line 165 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ schedule_periods

int gmp_create_task_opts_t::schedule_periods

Number of periods the schedule must run for.

Definition at line 173 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ slave_id

const char* gmp_create_task_opts_t::slave_id

ID of task schedule.

Definition at line 166 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ source_iface

const char* gmp_create_task_opts_t::source_iface

Source iface preference.

Definition at line 178 of file gmp.h.

Referenced by gmp_create_task_ext().

◆ target_id

const char* gmp_create_task_opts_t::target_id

ID of target.

Definition at line 167 of file gmp.h.

Referenced by gmp_create_task_ext().


The documentation for this struct was generated from the following file: