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 for Value binding. | |
void | xccdf_value_binding_free (struct xccdf_value_binding *) |
Destructor of Value binding structure. | |
Getters | |
struct xccdf_refine_value * | xccdf_value_binding_get_refine_value (const struct xccdf_value_binding *) |
Get refine value from value bindings. | |
struct xccdf_setvalue * | xccdf_value_binding_get_set_value (const struct xccdf_value_binding *) |
Get set value from value bindings. | |
struct xccdf_value * | xccdf_value_binding_get_rule_value (const struct xccdf_value_binding *) |
get value (element value) from value bindings | |
struct xccdf_check_export_iterator * | xccdf_value_binding_get_check_exports (const struct xccdf_value_binding *) |
get check export elements from value bindings | |
Setters | |
bool | xccdf_value_binding_add_refine_rule (struct xccdf_value_binding *, struct xccdf_refine_rule *) |
Add refine rule to the Value Binding structure. | |
bool | xccdf_value_binding_add_refine_value (struct xccdf_value_binding *, struct xccdf_refine_value *) |
Add refine value to the Value Binding structure. | |
bool | xccdf_value_binding_add_setvalue (struct xccdf_value_binding *, struct xccdf_setvalue *) |
Add value to the Value Binding structure. | |
bool | xccdf_value_binding_add_check_export (struct xccdf_value_binding *, struct xccdf_check_export *) |
Add check export to the Value Binding structure. | |
Data Fields | |
struct oscap_list * | check_exports |
Check export elements of benchmark. | |
struct xccdf_refine_value * | refine_value |
Refine value element of Profile. | |
struct xccdf_setvalue * | set_value |
Set value element of Profile. | |
struct xccdf_value * | rule_value |
Value element of benchmark (TODO:should be here more then once ?). |
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.