OpenVAS Libraries  9.0.3
nvti Struct Reference

The structure of a information record that corresponds to a NVT. More...

#include <nvti.h>

Collaboration diagram for nvti:
Collaboration graph

Data Fields

gchar * oid
 Object ID. More...
 
gchar * version
 Version of the NVT. More...
 
gchar * name
 The name. More...
 
gchar * copyright
 Copyright for the NVT. More...
 
gchar * cve
 List of CVEs, this NVT corresponds to. More...
 
gchar * bid
 List of Bugtraq IDs, this NVT corresponds to. More...
 
gchar * xref
 List of Cross-references, this NVT corresponds to. More...
 
gchar * tag
 List of tags attached to this NVT. More...
 
gchar * cvss_base
 CVSS base score for this NVT. More...
 
gchar * dependencies
 List of dependencies of this NVT. More...
 
gchar * required_keys
 List of required KB keys of this NVT. More...
 
gchar * mandatory_keys
 List of mandatory KB keys of this NVT. More...
 
gchar * excluded_keys
 List of excluded KB keys of this NVT. More...
 
gchar * required_ports
 List of required ports of this NVT. More...
 
gchar * required_udp_ports
 List of required UDP ports of this NVT. More...
 
GSList * prefs
 Collection of NVT preferences. More...
 
gint timeout
 Default timeout time for this NVT. More...
 
gint category
 The category, this NVT belongs to. More...
 
gchar * family
 Family the NVT belongs to. More...
 

Detailed Description

The structure of a information record that corresponds to a NVT.

The elements of this structure should never be accessed directly. Only the functions corresponding to this module should be used.

Definition at line 64 of file nvti.h.

Field Documentation

◆ bid

gchar* nvti::bid

List of Bugtraq IDs, this NVT corresponds to.

Definition at line 72 of file nvti.h.

Referenced by nvti_add_bid(), nvti_bid(), nvti_free(), and nvti_set_bid().

◆ category

gint nvti::category

The category, this NVT belongs to.

Definition at line 90 of file nvti.h.

Referenced by nvti_category(), and nvti_set_category().

◆ copyright

gchar* nvti::copyright

Copyright for the NVT.

Definition at line 69 of file nvti.h.

Referenced by nvti_copyright(), nvti_free(), and nvti_set_copyright().

◆ cve

gchar* nvti::cve

List of CVEs, this NVT corresponds to.

Definition at line 71 of file nvti.h.

Referenced by nvti_add_cve(), nvti_cve(), nvti_free(), and nvti_set_cve().

◆ cvss_base

gchar* nvti::cvss_base

CVSS base score for this NVT.

Definition at line 77 of file nvti.h.

Referenced by nvti_cvss_base(), nvti_free(), and nvti_set_cvss_base().

◆ dependencies

gchar* nvti::dependencies

List of dependencies of this NVT.

Definition at line 79 of file nvti.h.

Referenced by nvti_dependencies(), nvti_free(), and nvti_set_dependencies().

◆ excluded_keys

gchar* nvti::excluded_keys

List of excluded KB keys of this NVT.

Definition at line 82 of file nvti.h.

Referenced by nvti_add_excluded_keys(), nvti_excluded_keys(), nvti_free(), and nvti_set_excluded_keys().

◆ family

gchar* nvti::family

Family the NVT belongs to.

Definition at line 91 of file nvti.h.

Referenced by nvti_family(), nvti_free(), and nvti_set_family().

◆ mandatory_keys

gchar* nvti::mandatory_keys

List of mandatory KB keys of this NVT.

Definition at line 81 of file nvti.h.

Referenced by nvti_add_mandatory_keys(), nvti_free(), nvti_mandatory_keys(), and nvti_set_mandatory_keys().

◆ name

gchar* nvti::name

The name.

Definition at line 68 of file nvti.h.

Referenced by nvti_free(), nvti_name(), and nvti_set_name().

◆ oid

gchar* nvti::oid

Object ID.

Definition at line 66 of file nvti.h.

Referenced by nvti_free(), nvti_oid(), and nvti_set_oid().

◆ prefs

GSList* nvti::prefs

Collection of NVT preferences.

Definition at line 86 of file nvti.h.

Referenced by nvti_add_pref(), nvti_free(), nvti_pref(), and nvti_pref_len().

◆ required_keys

gchar* nvti::required_keys

List of required KB keys of this NVT.

Definition at line 80 of file nvti.h.

Referenced by nvti_add_required_keys(), nvti_free(), nvti_required_keys(), and nvti_set_required_keys().

◆ required_ports

gchar* nvti::required_ports

List of required ports of this NVT.

Definition at line 83 of file nvti.h.

Referenced by nvti_add_required_ports(), nvti_free(), nvti_required_ports(), and nvti_set_required_ports().

◆ required_udp_ports

gchar* nvti::required_udp_ports

List of required UDP ports of this NVT.

Definition at line 84 of file nvti.h.

Referenced by nvti_add_required_udp_ports(), nvti_free(), nvti_required_udp_ports(), and nvti_set_required_udp_ports().

◆ tag

gchar* nvti::tag

List of tags attached to this NVT.

Definition at line 76 of file nvti.h.

Referenced by nvti_free(), nvti_set_tag(), and nvti_tag().

◆ timeout

gint nvti::timeout

Default timeout time for this NVT.

Definition at line 89 of file nvti.h.

Referenced by nvti_set_timeout(), and nvti_timeout().

◆ version

gchar* nvti::version

Version of the NVT.

Definition at line 67 of file nvti.h.

Referenced by nvti_free(), nvti_set_version(), and nvti_version().

◆ xref

gchar* nvti::xref

List of Cross-references, this NVT corresponds to.

Definition at line 74 of file nvti.h.

Referenced by nvti_free(), nvti_set_xref(), and nvti_xref().


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