Open SCAP Library
|
Public Member Functions | |
cvrf_threat_type_t | cvrf_threat_get_threat_type (struct cvrf_threat *threat) |
xmlNode * | cvrf_threat_to_dom (const struct cvrf_threat *threat) |
Parent: Threats container in a CVRF Vulnerability element. More... | |
struct cvrf_threat * | cvrf_threat_new (void) |
New CVRF Threat element. More... | |
void | cvrf_threat_free (struct cvrf_threat *threat) |
Deallocates memory for a Threat element of the Threats container. More... | |
struct cvrf_threat * | cvrf_threat_clone (const struct cvrf_threat *threat) |
const char * | cvrf_threat_get_date (const struct cvrf_threat *threat) |
const char * | cvrf_threat_get_description (const struct cvrf_threat *threat) |
struct oscap_string_iterator * | cvrf_threat_get_product_ids (struct cvrf_threat *threat) |
struct oscap_string_iterator * | cvrf_threat_get_group_ids (struct cvrf_threat *threat) |
bool | cvrf_threat_set_date (struct cvrf_threat *threat, const char *date) |
bool | cvrf_threat_set_description (struct cvrf_threat *threat, const char *description) |
Data Fields | |
cvrf_threat_type_t | type |
char * | date |
char * | description |
struct oscap_stringlist * | product_ids |
struct oscap_stringlist * | group_ids |
cvrf_threat_type_t cvrf_threat_get_threat_type | ( | struct cvrf_threat * | threat | ) |
Category of information provided by the Threat about the Vulnerability
threat | CVRF Threat structure |
xmlNode * cvrf_threat_to_dom | ( | const struct cvrf_threat * | threat | ) |
Parent: Threats container in a CVRF Vulnerability element.
threat | CVRF Threat structure to be exported to XML |