Greenbone Vulnerability Management Libraries 22.32.0
vtseverity Struct Reference

The structure for a severity of a VT. More...

Collaboration diagram for vtseverity:
Collaboration graph

Data Fields

gchar * type
 Severity type ("cvss_base_v2", ...).
gchar * origin
int date
 Timestamp in seconds since epoch, defaults to VT creation date.
double score
 The score derived from the value in range [0.0-10.0].
gchar * value
 The value which corresponds to the type.

Detailed Description

The structure for a severity of a VT.

VTs can have one or several severities.

Definition at line 157 of file nvti.c.

Field Documentation

◆ date

int vtseverity::date

Timestamp in seconds since epoch, defaults to VT creation date.

Definition at line 162 of file nvti.c.

Referenced by vtseverity_date(), and vtseverity_new().

◆ origin

gchar* vtseverity::origin

Optional: Where does the severity come from ("CVE-2018-1234", "Greenbone Research")

Definition at line 160 of file nvti.c.

Referenced by vtseverity_free(), vtseverity_new(), and vtseverity_origin().

◆ score

double vtseverity::score

The score derived from the value in range [0.0-10.0].

Definition at line 163 of file nvti.c.

Referenced by vtseverity_new(), and vtseverity_score().

◆ type

gchar* vtseverity::type

Severity type ("cvss_base_v2", ...).

Definition at line 159 of file nvti.c.

Referenced by vtseverity_free(), vtseverity_new(), and vtseverity_type().

◆ value

gchar* vtseverity::value

The value which corresponds to the type.

Definition at line 164 of file nvti.c.

Referenced by vtseverity_free(), vtseverity_new(), and vtseverity_value().


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