Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
cvrf_vulnerability Struct Reference

Public Member Functions

xmlNode * cvrf_vulnerability_to_dom (const struct cvrf_vulnerability *vuln)
 Parent: CVRF Model root node. More...
 
OSCAP_API struct
cvrf_vulnerability
cvrf_vulnerability_new (void)
 New CVRF Vulnerability. More...
 
OSCAP_API void cvrf_vulnerability_free (struct cvrf_vulnerability *vulnerability)
 Deallocates memory for a Vulnerability element. More...
 
OSCAP_API struct
cvrf_vulnerability
cvrf_vulnerability_clone (const struct cvrf_vulnerability *vuln)
 
OSCAP_API int cvrf_vulnerability_filter_by_product (struct cvrf_vulnerability *vuln, const char *prod)
 
OSCAP_API int cvrf_vulnerability_get_ordinal (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_title (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_system_id (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_system_name (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_discovery_date (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_release_date (const struct cvrf_vulnerability *vuln)
 
OSCAP_API const char * cvrf_vulnerability_get_cve_id (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_set_ordinal (struct cvrf_vulnerability *vuln, int ordinal)
 
OSCAP_API bool cvrf_vulnerability_set_title (struct cvrf_vulnerability *vuln, const char *vulnerability_title)
 
OSCAP_API bool cvrf_vulnerability_set_system_id (struct cvrf_vulnerability *vuln, const char *id)
 
OSCAP_API bool cvrf_vulnerability_set_system_name (struct cvrf_vulnerability *vuln, const char *sys_name)
 
OSCAP_API bool cvrf_vulnerability_set_discovery_date (struct cvrf_vulnerability *vuln, const char *discovery_date)
 
OSCAP_API bool cvrf_vulnerability_set_release_date (struct cvrf_vulnerability *vuln, const char *release_date)
 
OSCAP_API bool cvrf_vulnerability_set_cve_id (struct cvrf_vulnerability *vuln, const char *cve_id)
 
OSCAP_API struct oscap_iteratorcvrf_vulnerability_get_references (struct cvrf_vulnerability *vuln)
 
OSCAP_API struct oscap_iteratorcvrf_vulnerability_get_acknowledgments (struct cvrf_vulnerability *vuln)
 
OSCAP_API struct oscap_iteratorcvrf_vulnerability_get_notes (struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_cwe (struct cvrf_vulnerability *vuln, struct cvrf_vulnerability_cwe *vulnerability_cwe)
 
OSCAP_API struct
cvrf_vulnerability_cwe_iterator * 
cvrf_vulnerability_get_cwes (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_involvement (struct cvrf_vulnerability *vuln, struct cvrf_involvement *involvement)
 
OSCAP_API struct
cvrf_involvement_iterator * 
cvrf_vulnerability_get_involvements (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_score_set (struct cvrf_vulnerability *vuln, struct cvrf_score_set *score_set)
 
OSCAP_API struct
cvrf_score_set_iterator * 
cvrf_vulnerability_get_score_sets (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_cvrf_product_status (struct cvrf_vulnerability *vuln, struct cvrf_product_status *stat)
 
OSCAP_API struct
cvrf_product_status_iterator * 
cvrf_vulnerability_get_product_statuses (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_remediation (struct cvrf_vulnerability *vuln, struct cvrf_remediation *remed)
 
OSCAP_API struct
cvrf_remediation_iterator * 
cvrf_vulnerability_get_remediations (const struct cvrf_vulnerability *vuln)
 
OSCAP_API bool cvrf_vulnerability_add_threat (struct cvrf_vulnerability *vuln, struct cvrf_threat *threat)
 
OSCAP_API struct
cvrf_threat_iterator * 
cvrf_vulnerability_get_threats (const struct cvrf_vulnerability *vuln)
 

Data Fields

int ordinal
 
char * title
 
char * system_id
 
char * system_name
 
char * discovery_date
 
char * release_date
 
char * cve_id
 
struct oscap_listcwes
 
struct oscap_listnotes
 
struct oscap_listinvolvements
 
struct oscap_listscore_sets
 
struct oscap_listproduct_statuses
 
struct oscap_listthreats
 
struct oscap_listremediations
 
struct oscap_listreferences
 
struct oscap_listacknowledgments
 

Member Function Documentation

xmlNode * cvrf_vulnerability_to_dom ( const struct cvrf_vulnerability vuln)

Parent: CVRF Model root node.

Parameters
vulnCVRF Vulnerability structure to be exported to XML
Returns
xmlNode representing Vulnerability element

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