XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark. More...
#include <xccdf_policy.h>
Public Member Functions | |
struct xccdf_value_binding * | xccdf_value_binding_new (void) |
Constructor of structure with profile bindings - refine_rules, refine_values and set_values. | |
void | xccdf_value_binding_free (struct xccdf_value_binding *) |
Destructor of Value binding structure. | |
Getters | |
char * | xccdf_value_binding_get_name (const struct xccdf_value_binding *) |
Get variable name from value bindings. | |
char * | xccdf_value_binding_get_value (const struct xccdf_value_binding *) |
Get value from value bindings. | |
xccdf_value_type_t | xccdf_value_binding_get_type (const struct xccdf_value_binding *) |
get variable type from value bindings | |
xccdf_operator_t | xccdf_value_binding_get_operator (const struct xccdf_value_binding *) |
get Value operator from value bindings | |
char * | xccdf_value_binding_get_setvalue (const struct xccdf_value_binding *) |
get Set Value from value bindings | |
Data Fields | |
char * | name |
The name of OVAL Variable. | |
xccdf_value_type_t | type |
Type of Variable. | |
char * | value |
Value of variable. | |
char * | setvalue |
Set value if defined or NULL. | |
xccdf_operator_t | operator |
Operator of Value. | |
Related Functions | |
(Note that these are not member functions.) | |
Iterators | |
struct xccdf_score * | xccdf_policy_get_score (struct xccdf_policy *policy, struct xccdf_result *test_result, const char *system) |
Get score of the XCCDF Benchmark. |
XCCDF value binding structure is binding between Refine values, Set values, Value element and Check export element of benchmark.
Value bindings of policy.
These structures are binded together for exporting values to checking engine.
These bindings are set during the preprocessing of profile, when policies are beeing created.