Structure holding CVE entry data. More...
#include <cve_priv.h>
Public Member Functions | |
| struct cve_entry * | cve_entry_new (void) |
| New CVE entry. | |
| void | cve_entry_free (struct cve_entry *entry) |
| Free CVE entry. | |
| void | cwe_entry_free (struct cwe_entry *entry) |
| Free CVE entry. | |
Getters | |
| struct cve_entry_iterator * | cve_model_get_entries (const struct cve_model *cve_model) |
| Get en iterator to CVE entries. | |
| const char * | cve_entry_get_id (const struct cve_entry *item) |
| Get CVE entry ID. | |
| const char * | cve_entry_get_cwe (const struct cve_entry *item) |
| Get CVE entry CWE. | |
| struct cve_summary_iterator * | cve_entry_get_summaries (const struct cve_entry *item) |
| Get CVE entry summary. | |
| struct cve_reference_iterator * | cve_entry_get_references (const struct cve_entry *item) |
| Get an iterator to CVE entry's references. | |
| const char * | cwe_entry_get_value (const struct cwe_entry *entry) |
| Get CVE entry value. | |
| const char * | cve_entry_get_published (const struct cve_entry *entry) |
| Get CVE entry published date. | |
| const char * | cve_entry_get_modified (const struct cve_entry *entry) |
| Get CVE entry modified. | |
| const char * | cve_entry_get_sec_protection (const struct cve_entry *entry) |
| Get CVE entry protection. | |
| struct cve_product_iterator * | cve_entry_get_products (const struct cve_entry *entry) |
| Get CVE entry products. | |
| struct cve_configuration_iterator * | cve_entry_get_configurations (const struct cve_entry *entry) |
| Get CVE . | |
| struct cvss_entry * | cve_entry_get_cvss (const struct cve_entry *item) |
| Get CVSS structure from CVE. | |
Setters | |
| bool | cve_entry_add_product (struct cve_entry *entry, struct cve_product *new_product) |
| bool | cve_entry_add_reference (struct cve_entry *entry, struct cve_reference *new_reference) |
| bool | cve_entry_add_summary (struct cve_entry *entry, struct cve_summary *new_summary) |
| bool | cve_entry_add_configuration (struct cve_entry *entry, struct cve_configuration *new_configuration) |
| bool | cve_entry_set_id (struct cve_entry *entry, const char *new_id) |
| Set id of CVE entry. | |
| bool | cve_entry_set_published (struct cve_entry *entry, const char *new_published) |
| Set publish date of CVE entry. | |
| bool | cve_entry_set_modified (struct cve_entry *entry, const char *new_modified) |
| Set modified date of CVE entry. | |
| bool | cve_entry_set_sec_protection (struct cve_entry *entry, const char *new_protection) |
| Set protection of CVE entry. | |
| bool | cve_entry_set_cwe (struct cve_entry *entry, const char *cwe) |
| Set cwe of CVE entry. | |
| bool | cwe_entry_set_value (struct cwe_entry *entry, const char *new_value) |
| Set value of CVE entry. | |
Data Fields | |
| struct xml_metadata | xml |
| char * | id |
| char * | cve_id |
| struct oscap_list * | products |
| char * | published |
| char * | modified |
| struct cvss_entry * | cvss |
| char * | sec_protection |
| char * | cwe |
| struct oscap_list * | summaries |
| struct oscap_list * | references |
| struct oscap_list * | configurations |
Structure holding CVE entry data.
1.6.1