41#include "oscap_export.h"
153OSCAP_API
const char *cve_reference_get_lang(
const struct cve_reference *ref);
166OSCAP_API
const char *cve_product_get_value(
const struct cve_product *product);
339OSCAP_API
bool cve_reference_set_lang(
struct cve_reference *reference,
const char *new_lang);
486OSCAP_API
const char * cve_model_supported(
void);
595OSCAP_API
void cve_entry_free(
struct cve_entry *entry);
602OSCAP_API
void cve_summary_free(
struct cve_summary *summary);
609OSCAP_API
void cve_product_free(
struct cve_product *product);
623OSCAP_API
void cwe_entry_free(
struct cwe_entry *entry);
677OSCAP_API
const char *cve_model_get_nvd_xml_version(
const struct cve_model *item);
679OSCAP_API
bool cve_model_set_nvd_xml_version(
struct cve_model *obj,
const char *newval);
681OSCAP_API
const char *cve_model_get_pub_date(
const struct cve_model *item);
683OSCAP_API
bool cve_model_set_pub_date(
struct cve_model *obj,
const char *newval);
Interface to Common Platform Enumeration (CPE) URI.
struct cve_model * cve_model_import(const char *file)
Public function to import CVE model from OSCAP import source.
Definition: cve.c:50
void cve_model_export(struct cve_model *cve, const char *file)
Public function to export CVE model to OSCAP export target.
Definition: cve.c:70
OSCAP_API bool cve_entry_set_modified(struct cve_entry *entry, const char *new_modified)
Set modified date of CVE entry.
OSCAP_API struct cve_product * cve_product_clone(struct cve_product *old_product)
Clone CVE product.
Definition: cve_priv.c:317
OSCAP_API const char * cve_entry_get_id(const struct cve_entry *item)
Get CVE entry ID.
OSCAP_API bool cve_product_set_value(struct cve_product *product, const char *new_value)
Set value of CVE product.
OSCAP_API bool cve_entry_set_id(struct cve_entry *entry, const char *new_id)
Set id of CVE entry.
OSCAP_API struct cve_entry * cve_entry_clone(struct cve_entry *old_entry)
Clone CVE entry.
Definition: cve_priv.c:239
OSCAP_API bool cve_entry_set_sec_protection(struct cve_entry *entry, const char *new_protection)
Set protection of CVE entry.
OSCAP_API bool cve_summary_set_summary(struct cve_summary *summary, const char *new_summary)
Set summary of CVE summary.
OSCAP_API struct cve_summary * cve_summary_clone(struct cve_summary *old_sum)
Clone CVE summary.
Definition: cve_priv.c:338
OSCAP_API const char * cve_reference_get_href(const struct cve_reference *ref)
Get CVE reference href.
OSCAP_API struct cve_entry * cve_entry_new(void)
New CVE entry.
Definition: cve_priv.c:215
OSCAP_API bool cve_entry_set_cwe(struct cve_entry *entry, const char *cwe)
Set cwe of CVE entry.
OSCAP_API bool cve_reference_set_source(struct cve_reference *reference, const char *new_source)
Set source of CVE reference.
OSCAP_API const char * cwe_entry_get_value(const struct cwe_entry *entry)
Get CVE entry value.
OSCAP_API struct cve_entry_iterator * cve_model_get_entries(const struct cve_model *cve_model)
Get en iterator to CVE entries.
OSCAP_API const char * cve_entry_get_published(const struct cve_entry *entry)
Get CVE entry published date.
OSCAP_API bool cve_reference_set_value(struct cve_reference *reference, const char *new_value)
Set value of CVE reference.
OSCAP_API struct cve_configuration_iterator * cve_entry_get_configurations(const struct cve_entry *entry)
Get CVE .
OSCAP_API struct cve_reference_iterator * cve_entry_get_references(const struct cve_entry *item)
Get an iterator to CVE entry's references.
OSCAP_API bool cve_entry_set_published(struct cve_entry *entry, const char *new_published)
Set publish date of CVE entry.
OSCAP_API const char * cve_reference_get_source(const struct cve_reference *ref)
Get CVE reference source.
OSCAP_API const char * cve_summary_get_summary(const struct cve_summary *summary)
Get value from CVE summary.
OSCAP_API void cve_model_free(struct cve_model *cve_model)
Free CVE model.
Definition: cve_priv.c:795
OSCAP_API const char * cve_entry_get_modified(const struct cve_entry *entry)
Get CVE entry modified.
OSCAP_API const char * cve_configuration_get_id(const struct cve_configuration *conf)
Get CVE configuration id.
OSCAP_API struct cve_summary * cve_summary_new(void)
New CVE summary.
Definition: cve_priv.c:324
OSCAP_API bool cve_configuration_set_id(struct cve_configuration *conf, const char *new_id)
Set id of CVE configuration.
OSCAP_API struct cve_reference * cve_reference_clone(struct cve_reference *old_ref)
Clone CVE reference.
Definition: cve_priv.c:356
OSCAP_API bool cve_reference_set_type(struct cve_reference *reference, const char *new_type)
Set type of CVE reference.
OSCAP_API struct cve_model * cve_model_clone(struct cve_model *old_model)
Clone CVE model.
Definition: cve_priv.c:383
OSCAP_API const char * cve_reference_get_value(const struct cve_reference *ref)
Get CVE reference values.
OSCAP_API struct cve_summary_iterator * cve_entry_get_summaries(const struct cve_entry *item)
Get CVE entry summary.
OSCAP_API struct cve_product_iterator * cve_entry_get_products(const struct cve_entry *entry)
Get CVE entry products.
OSCAP_API const char * cve_entry_get_cwe(const struct cve_entry *item)
Get CVE entry CWE.
OSCAP_API struct cve_reference * cve_reference_new(void)
New CVE reference.
Definition: cve_priv.c:345
OSCAP_API const char * cve_entry_get_sec_protection(const struct cve_entry *entry)
Get CVE entry protection.
OSCAP_API bool cwe_entry_set_value(struct cwe_entry *entry, const char *new_value)
Set value of CVE entry.
OSCAP_API struct cwe_entry * cwe_entry_new(void)
New CWE entry.
Definition: cve_priv.c:282
OSCAP_API struct cve_model * cve_model_new(void)
New CVE model.
Definition: cve_priv.c:367
OSCAP_API struct cve_product * cve_product_new(void)
New CVE product.
Definition: cve_priv.c:303
OSCAP_API bool cve_model_add_entry(struct cve_model *model, struct cve_entry *new_entry)
Add entry to CVE model.
OSCAP_API struct cve_configuration * cve_configuration_new(void)
New CVE vulnerability configuration.
Definition: cve_priv.c:259
OSCAP_API const char * cve_reference_get_type(const struct cve_reference *ref)
Get CVE reference type.
OSCAP_API bool cve_reference_set_href(struct cve_reference *reference, const char *new_href)
Set href of CVE reference.
OSCAP_API struct cwe_entry * cwe_entry_clone(struct cwe_entry *old_entry)
Clone CWE entry.
Definition: cve_priv.c:296
OSCAP_API struct cve_configuration * cve_configuration_clone(struct cve_configuration *old_conf)
Clone CVE configuration.
Definition: cve_priv.c:274
General OpenScap functions and types.
CPE language boolean expression.
Definition: cpelang_priv.h:51
Iterator over CVE vulnerable configurations.
Structure CVE vulnerable configuration data.
Definition: cve_priv.c:113
Iterator over CVE entries.
Structure holding CVE entry data.
Definition: cve_priv.c:121
Structure holding CVE model.
Definition: cve_priv.c:65
Iterator over CVE products.
Structure holding CVE product data.
Definition: cve_priv.c:99
Iterator over CVE references.
Structure holding CVE reference data.
Definition: cve_priv.c:77
Iterator over CVE summaries.
Structure holding CVE summary data.
Definition: cve_priv.c:92
CVSS impact.
Definition: cvss_priv.h:80
Structure holding CWE data.
Definition: cve_priv.c:106