31 #include "common/reference_priv.h"
32 #include "common/list.h"
33 #include "common/util.h"
34 #include "common/text_priv.h"
43 bool prohibit_changes:1;
53 bool prohibit_changes:1;
125 bool value_given : 1;
126 bool defval_given : 1;
127 bool must_match_given : 1;
178 char *benchmark_ref_version;
184 char *version_update;
293 bool def_multicheck:1;
362 bool authenticated : 1;
405 char *parent_context;
429 extern const size_t XCCDF_NUMERIC_SIZE;
430 extern const char *XCCDF_NUMERIC_FORMAT;
433 void xccdf_item_release(
struct xccdf_item *item);
434 void xccdf_item_print(
struct xccdf_item *item,
int depth);
435 void xccdf_item_dump(
struct xccdf_item *item,
int depth);
437 bool xccdf_benchmark_parse(
struct xccdf_item *benchmark, xmlTextReaderPtr reader);
441 bool xccdf_benchmark_unregister_item(
struct xccdf_item *item);
442 bool xccdf_benchmark_rename_item(
struct xccdf_item *item,
const char *newid);
453 void xccdf_profile_dump(
struct xccdf_item *prof,
int depth);
455 bool xccdf_item_process_attributes(
struct xccdf_item *item, xmlTextReaderPtr reader);
456 bool xccdf_item_process_element(
struct xccdf_item *item, xmlTextReaderPtr reader);
458 bool xccdf_content_parse(xmlTextReaderPtr reader,
struct xccdf_item *parent);
461 void xccdf_group_dump(
struct xccdf_item *group,
int depth);
465 void xccdf_rule_dump(
struct xccdf_item *rule,
int depth);
471 void xccdf_value_dump(
struct xccdf_item *value,
int depth);
473 struct xccdf_notice *xccdf_notice_new_parse(xmlTextReaderPtr reader);
474 void xccdf_notice_dump(
struct xccdf_notice *notice,
int depth);
476 void xccdf_status_dump(
struct xccdf_status *status,
int depth);
478 struct xccdf_model *xccdf_model_new_xml(xmlTextReaderPtr reader);
480 void xccdf_cstring_dump(
const char *data,
int depth);
481 void xccdf_result_dump(
struct xccdf_result *res,
int depth);
482 struct xccdf_result *xccdf_result_new_parse(xmlTextReaderPtr reader);
484 int xccdf_result_set_start_time_current(
struct xccdf_result *item);
485 int xccdf_result_set_end_time_current(
struct xccdf_result *item);
488 struct xccdf_check *xccdf_check_parse(xmlTextReaderPtr reader);
489 void xccdf_check_dump(
struct xccdf_check *check,
int depth);
492 struct xccdf_ident *xccdf_ident_parse(xmlTextReaderPtr reader);
493 void xccdf_ident_dump(
struct xccdf_ident *ident,
int depth);
494 struct xccdf_fix *xccdf_fix_parse(xmlTextReaderPtr reader);
495 struct xccdf_fixtext *xccdf_fixtext_parse(xmlTextReaderPtr reader);
497 struct xccdf_setvalue *xccdf_setvalue_new_parse(xmlTextReaderPtr reader);
500 struct xccdf_warning *xccdf_warning_new_parse(xmlTextReaderPtr reader);
518 void xccdf_texts_to_dom(
struct oscap_text_iterator *texts, xmlNode *parent,
const char *elname);
XCCDF target fact.
Definition: item.h:409
Stores content from xccdf:Tailoring element which can be loaded from a separate file.
Definition: item.h:170
CPE platform specification.
Definition: cpelang_priv.c:61
XCCDF refine rule option used in the profile.
Definition: item.h:258
xccdf_level_t
XCCDF error, complexity, disruption, or severity level.
Definition: xccdf_benchmark.h:116
XCCDF note for given rule in context of given profile.
Definition: item.h:318
XCCDF instance.
Definition: item.h:403
Define mapping between symbolic constant and its string representation.
Definition: util.h:309
XCCDF scoring model.
Definition: item.h:247
xccdf_warning_category_t
Category of xccdf_warning.
Definition: xccdf_benchmark.h:140
XCCDF score.
Definition: item.h:368
xccdf_operator_t
Operator to be applied on an xccdf_value.
Definition: xccdf_benchmark.h:99
Definition: XCCDF/elements.c:41
Top level XCCDF structure containing profiles, rules, values and results.
XCCDF select option usen in the profile.
Definition: item.h:252
XCCDF message.
Definition: item.h:382
XCCDF set value option used in the profile.
Definition: item.h:274
Internationalized string iterator.
XCCDF simple or complex check.
Definition: item.h:284
xccdf_type_t
Type of an XCCDF object.
Definition: xccdf_benchmark.h:55
XCCDF textual fix instructions.
Definition: item.h:334
Actual results of running a XCCDF test or profile.
Definition: xccdf_benchmark.h:222
Open-scap XCCDF library interface.
xccdf_test_result_type_t
Test result.
Definition: xccdf_benchmark.h:167
xccdf_role_t
XCCDF role.
Definition: xccdf_benchmark.h:133
XCCDF check export.
Definition: item.h:313
XCCDF override.
Definition: item.h:374
xccdf_value_type_t
Type of an xccdf_value.
Definition: xccdf_benchmark.h:92
xccdf_status_type_t
Status of an XCCDF item.
Definition: xccdf_benchmark.h:82
XCCDF identity.
Definition: item.h:360
XCCDF target fact.
Definition: item.h:387
Structure representing a CPE dictionary.
Definition: cpedict_priv.h:191
xccdf_message_severity_t
Severity of an xccdf_message.
Definition: xccdf_benchmark.h:126
XCCDF rule result.
Definition: item.h:343
XCCDF item status.
Definition: item.h:242
XCCDF rule ident URI.
Definition: item.h:279
Representation of internationalizable character strings.
Definition: text_priv.h:47
xccdf_strategy_t
Fix strategy type.
Definition: xccdf_benchmark.h:154
xccdf_interface_hint_t
Interface hint.
Definition: xccdf_benchmark.h:72
XCCDF profile is a set of tests and their settings in a compact package.
Definition: xccdf_benchmark.h:192
xccdf_bool_operator_t
Boolean operators for logical expressions.
Definition: xccdf_benchmark.h:110
XCCDF automatic fix.
Definition: item.h:323
XCCDF check import.
Definition: item.h:307
Check iterator.
Definition: xccdf_benchmark.h:501
Can be either <target-id-ref> or some other element.
Definition: item.h:393
XCCDF benchmark legal notice.
Definition: item.h:237
float xccdf_numeric
Type of a numerical content for a XCCDF value.
Definition: xccdf_benchmark.h:186
XCCDF warning.
Definition: item.h:232
oscap_text traits
Definition: text_priv.h:39
A base class for XCCDF items.
Definition: item.h:219
XCCDF refine value option used in the profile.
Definition: item.h:267
XCCDF check content reference.
Definition: item.h:302