|
Greenbone Vulnerability Management Libraries 22.32.0
|
The structure for a severity of a VT. More...

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. | |
The structure for a severity of a VT.
VTs can have one or several severities.
| 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().
| 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().
| 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().
| 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().
| 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().