#include <xccdf_policy_priv.h>
Data Fields | |
struct xccdf_policy_model * | model |
XCCDF Policy model. | |
struct xccdf_profile * | profile |
Profile structure (from benchmark). | |
const char * | rule |
A list of all selects. | |
int | rule_found |
Single-rule feature: flag for rule - if rule is found it is set to 1 otherwise 0. | |
struct oscap_list * | selects |
struct oscap_list * | values |
Bound values of profile. | |
struct oscap_list * | results |
List of XCCDF results. | |
struct oscap_htable * | selected_internal |
A hash which for given item points to the latest selector applicable. | |
struct oscap_htable * | selected_final |
A hash which for given item defines final selection. | |
struct oscap_htable * | refine_rules_internal |
Policy structure that abstract benchmark's profile.
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.
const char* xccdf_policy::rule |
A list of all selects.
Either from profile or later added through API. Single-rule feature: if not NULL, only this one rule will be selected.
struct oscap_htable* xccdf_policy::selected_internal [read] |
A hash which for given item points to the latest selector applicable.
There might not be one. Note that it migth be a selector for cluster-id.