xccdf_policy Struct Reference
[XCCDF_POLICY]

XCCDF policy structure is abstract (class) structure of Profile element from benchmark. More...

#include <xccdf_policy_priv.h>


Data Fields

struct xccdf_policy_modelmodel
 XCCDF Policy model.
struct xccdf_profileprofile
 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


Detailed Description

XCCDF policy structure is abstract (class) structure of Profile element from benchmark.

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.


Field Documentation

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.


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

Generated on Tue Nov 14 12:19:01 2017 for Open SCAP Library by  doxygen 1.5.6