Struct holding CVSS entry data. More...
#include <cvss_priv.h>
Public Member Functions | |
| struct cvss_entry * | cvss_entry_new (void) |
| New CVSS entry. | |
| void | cvss_entry_free (struct cvss_entry *entry) |
| Free CVSS entry. | |
Getters | |
| const char * | cvss_entry_get_score (const struct cvss_entry *entry) |
| Get score from CVSS entry. | |
| const char * | cvss_entry_get_AV (const struct cvss_entry *entry) |
| Get access vector from CVSS entry. | |
| const char * | cvss_entry_get_AC (const struct cvss_entry *entry) |
| Get access complexity from CVSS entry. | |
| const char * | cvss_entry_get_authentication (const struct cvss_entry *entry) |
| Get authentication from CVSS entry. | |
| const char * | cvss_entry_get_imp_confidentiality (const struct cvss_entry *entry) |
| Get confidentiality impact from CVSS entry. | |
| const char * | cvss_entry_get_imp_integrity (const struct cvss_entry *entry) |
| Get integrity impact from CVSS entry. | |
| const char * | cvss_entry_get_imp_availability (const struct cvss_entry *entry) |
| Get availability impact from CVSS entry. | |
| const char * | cvss_entry_get_source (const struct cvss_entry *entry) |
| Get source from CVSS entry. | |
| const char * | cvss_entry_get_generated (const struct cvss_entry *entry) |
| Get generated date-time from CVSS entry. | |
Setters | |
| bool | cvss_entry_set_score (struct cvss_entry *entry, const char *new_score) |
| Set of CVSS entry. | |
| bool | cvss_entry_set_AV (struct cvss_entry *entry, const char *new_AV) |
| Set access vector of CVSS entry. | |
| bool | cvss_entry_set_AC (struct cvss_entry *entry, const char *new_AC) |
| Set access complexity of CVSS entry. | |
| bool | cvss_entry_set_authentication (struct cvss_entry *entry, const char *new_authentication) |
| Set authentication of CVSS entry. | |
| bool | cvss_entry_set_imp_confidentiality (struct cvss_entry *entry, const char *new_item) |
| Set confidentiality impact of CVSS entry. | |
| bool | cvss_entry_set_imp_integrity (struct cvss_entry *entry, const char *new_item) |
| Set integrity impact of CVSS entry. | |
| bool | cvss_entry_set_imp_availability (struct cvss_entry *entry, const char *new_item) |
| Set availability impact of CVSS entry. | |
| bool | cvss_entry_set_source (struct cvss_entry *entry, const char *new_source) |
| Set source of CVSS entry. | |
| bool | cvss_entry_set_generated (struct cvss_entry *entry, const char *new_generated) |
| Set generated date-time of CVSS entry. | |
Evaluators | |
| const char * | cvss_model_supported (void) |
| Get supported version of CVSS XML. | |
Data Fields | |
| char * | score |
| char * | AV |
| char * | AC |
| char * | authentication |
| char * | imp_confidentiality |
| char * | imp_integrity |
| char * | imp_availability |
| char * | source |
| char * | generated |
Struct holding CVSS entry data.
Structure holding CVSS model.
1.6.1