28#include <common/util.h>
29#include <libxml/xmlreader.h>
30#include <common/list.h>
33#define XCCDF_DC_NAMESPACE BAD_CAST "http://purl.org/dc/elements/1.1/"
34#define XCCDF_DSIG_NAMESPACE BAD_CAST "http://w3.org/2000/09/xmldsig#"
35#define XCCDF_XHTML_NAMESPACE BAD_CAST "http://www.w3.org/1999/xhtml"
37xmlNode *xccdf_benchmark_to_dom(
struct xccdf_benchmark *benchmark, xmlDocPtr doc,
38 xmlNode *parent,
void *user_args);
40xmlNode *xccdf_profile_note_to_dom(
struct xccdf_profile_note *note, xmlDoc *doc, xmlNode *parent);
41xmlNode *xccdf_fixtext_to_dom(
struct xccdf_fixtext *fixtext, xmlDoc *doc, xmlNode *parent);
44xmlNode *xccdf_warning_to_dom(
struct xccdf_warning *warning, xmlDoc *doc, xmlNode *parent);
46void xccdf_rule_to_dom(
struct xccdf_rule *rule, xmlNode *rule_node, xmlDoc *doc, xmlNode *parent);
47void xccdf_value_to_dom(
struct xccdf_value *value, xmlNode *value_node, xmlDoc *doc, xmlNode *parent);
48void xccdf_group_to_dom(
struct xccdf_group *group, xmlNode *group_node, xmlDoc *doc, xmlNode *parent);
49void xccdf_profile_to_dom(
struct xccdf_profile *profile, xmlNode *profile_node, xmlDoc *doc, xmlNode *parent,
const struct xccdf_version_info *version_info);
50void xccdf_result_to_dom(
struct xccdf_result *result, xmlNode *result_node, xmlDoc *doc, xmlNode *parent,
bool use_stig_rule_id);
Top level XCCDF structure containing profiles, rules, values and results.
XCCDF simple or complex check.
Definition: item.h:285
XCCDF automatic fix.
Definition: item.h:324
XCCDF textual fix instructions.
Definition: item.h:335
XCCDF rule ident URI.
Definition: item.h:280
A base class for XCCDF items.
Definition: item.h:220
XCCDF override.
Definition: item.h:375
XCCDF note for given rule in context of given profile.
Definition: item.h:319
XCCDF profile is a set of tests and their settings in a compact package.
Actual results of running a XCCDF test or profile.
XCCDF rule result.
Definition: item.h:344
XCCDF rule defines a test execution.
XCCDF set value option used in the profile.
Definition: item.h:275
XCCDF item status.
Definition: item.h:243
Can be either <target-id-ref> or some other element.
Definition: item.h:394
XCCDF Value allows test parametrization or capturing output of tests.
Definition: XCCDF/elements.c:42
XCCDF warning.
Definition: item.h:233
Open-scap XCCDF library interface.