Public Member Functions | Data Fields

xccdf_value_binding Struct Reference
[XCCDF_POLICY]

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_bindingxccdf_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

Return value is pointer to structure's member.

Do not free unless you null the pointer in the structure. Use remove function otherwise.

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.)



Evaluators

Add check export to the Value Binding structure

Returns:
true if rule has been added succesfully
struct xccdf_itemxccdf_policy_tailor_item (struct xccdf_policy *policy, struct xccdf_item *item)
 Clone the item and tailor it against given policy (profile).
struct oscap_stringlistxccdf_policy_model_get_files (struct xccdf_policy_model *policy_model)
 Return names of files that are used in checks of particular rules.
Iterators

struct xccdf_scorexccdf_policy_get_score (struct xccdf_policy *policy, struct xccdf_result *test_result, const char *system)
 Get score of the XCCDF Benchmark.

Detailed Description

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.


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