xccdf_policy Struct Reference
[Xccdf_policy]
XCCDF policy structure is abstract (class) structure of Profile element from benchmark.
More...
#include <xccdf_policy.h>
Detailed Description
XCCDF policy structure is abstract (class) structure of Profile element from benchmark.
Handle: Xccdf_policy.
Structure contains rules and bound values to abstract these lists from the benchmark file. Can be modified temporaly so changes can be discarded or saved to the existing model.
Member Function Documentation
Evaluate policy.
- Returns:
- true if evaluation pass or false in case of error
Get selected rules from policy.
- Returns:
- Pointer to select iterator.
- Return values:
-
struct xccdf_value_binding_iterator * xccdf_policy_get_values |
( |
const struct xccdf_policy * |
|
) |
[read] |
bool xccdf_policy_set_selected |
( |
struct xccdf_policy * |
policy, |
|
|
char * |
idref | |
|
) |
| | |
The documentation for this struct was generated from the following files:
- /home/pvrabec/openscap/openscap-0.5.8/src/XCCDF_POLICY/xccdf_policy.c
- /home/pvrabec/openscap/openscap-0.5.8/src/XCCDF_POLICY/public/xccdf_policy.h