39 #include <oscap_reference.h>
40 #include <oscap_source.h>
43 #include "oscap_export.h"
119 XCCDF_LEVEL_NOT_DEFINED = 0,
129 XCCDF_MSG_NOT_DEFINED = 0,
144 XCCDF_WARNING_NOT_SPECIFIED,
186 OSCAP_PROFILE_MATCH_OK = 0,
187 OSCAP_PROFILE_NO_MATCH = 1,
188 OSCAP_PROFILE_MULTIPLE_MATCHES = 2,
640 OSCAP_API
const char* xccdf_version_info_get_version(
const struct xccdf_version_info* v);
642 OSCAP_API
const char* xccdf_version_info_get_namespace_uri(
const struct xccdf_version_info* v);
644 OSCAP_API
const char* xccdf_version_info_get_cpe_version(
const struct xccdf_version_info* v);
649 OSCAP_API
void xccdf_item_free(
struct xccdf_item *item);
764 OSCAP_API
void xccdf_benchmark_free(
struct xccdf_benchmark *benchmark);
778 OSCAP_API
const struct xccdf_version_info *xccdf_benchmark_supported_schema_version(
void);
783 OSCAP_API
void xccdf_profile_free(
struct xccdf_item *prof);
790 OSCAP_API
struct xccdf_rule *xccdf_rule_new(
void);
792 OSCAP_API
void xccdf_rule_free(
struct xccdf_item *rule);
799 OSCAP_API
struct xccdf_group *xccdf_group_new(
void);
801 OSCAP_API
void xccdf_group_free(
struct xccdf_item *group);
810 OSCAP_API
void xccdf_value_free(
struct xccdf_item *val);
821 OSCAP_API
struct xccdf_status *xccdf_status_new_fill(
const char *status,
const char *date);
823 OSCAP_API
void xccdf_status_free(
struct xccdf_status *status);
827 OSCAP_API
void xccdf_notice_free(
struct xccdf_notice *notice);
832 OSCAP_API
struct xccdf_model *xccdf_model_new(
void);
836 OSCAP_API
void xccdf_model_free(
struct xccdf_model *model);
839 OSCAP_API
struct xccdf_ident *xccdf_ident_new(
void);
841 OSCAP_API
struct xccdf_ident *xccdf_ident_new_fill(
const char *
id,
const char *sys);
845 OSCAP_API
void xccdf_ident_free(
struct xccdf_ident *ident);
849 OSCAP_API
struct xccdf_check *xccdf_check_new(
void);
851 OSCAP_API
void xccdf_check_free(
struct xccdf_check *check);
883 OSCAP_API
struct xccdf_fix *xccdf_fix_new(
void);
887 OSCAP_API
void xccdf_fix_free(
struct xccdf_fix *item);
894 OSCAP_API
void xccdf_fixtext_free(
struct xccdf_fixtext *item);
897 OSCAP_API
void xccdf_select_free(
struct xccdf_select *sel);
908 OSCAP_API
void xccdf_warning_free(
struct xccdf_warning * warn);
921 OSCAP_API
void xccdf_tailoring_free(
struct xccdf_tailoring *tailoring);
971 OSCAP_API
struct xccdf_plain_text *xccdf_plain_text_new_fill(
const char *
id,
const char *text);
980 OSCAP_API
void xccdf_result_free(
struct xccdf_result *item);
998 OSCAP_API
void xccdf_identity_free(
struct xccdf_identity *identity);
1001 OSCAP_API
struct xccdf_score *xccdf_score_new(
void);
1005 OSCAP_API
void xccdf_score_free(
struct xccdf_score *score);
1012 OSCAP_API
void xccdf_override_free(
struct xccdf_override *oride);
1019 OSCAP_API
void xccdf_message_free(
struct xccdf_message *msg);
1727 OSCAP_API
const char *xccdf_item_get_id(
const struct xccdf_item *item);
1739 OSCAP_API
const char *xccdf_item_get_version(
const struct xccdf_item *item);
1743 OSCAP_API
const char *xccdf_item_get_extends(
const struct xccdf_item *item);
1751 OSCAP_API
struct oscap_reference_iterator *xccdf_item_get_dc_statuses(
const struct xccdf_item *item);
1755 OSCAP_API
struct oscap_reference_iterator *xccdf_item_get_references(
const struct xccdf_item *item);
1771 OSCAP_API
bool xccdf_item_get_hidden(
const struct xccdf_item *item);
1775 OSCAP_API
bool xccdf_item_get_selected(
const struct xccdf_item *item);
1779 OSCAP_API
bool xccdf_item_get_prohibit_changes(
const struct xccdf_item *item);
1783 OSCAP_API
bool xccdf_item_get_abstract(
const struct xccdf_item *item);
1827 OSCAP_API
const char *xccdf_benchmark_get_id(
const struct xccdf_benchmark *benchmark);
1831 OSCAP_API
bool xccdf_benchmark_get_resolved(
const struct xccdf_benchmark *benchmark);
1843 OSCAP_API
const char *xccdf_benchmark_get_version(
const struct xccdf_benchmark *benchmark);
1851 OSCAP_API
const char *xccdf_benchmark_get_style(
const struct xccdf_benchmark *benchmark);
1855 OSCAP_API
const char *xccdf_benchmark_get_style_href(
const struct xccdf_benchmark *benchmark);
1871 OSCAP_API
struct oscap_reference_iterator *xccdf_benchmark_get_dc_statuses(
const struct xccdf_benchmark *benchmark);
1875 OSCAP_API
struct oscap_reference_iterator *xccdf_benchmark_get_references(
const struct xccdf_benchmark *benchmark);
1897 OSCAP_API
bool xccdf_benchmark_set_lang(
struct xccdf_benchmark *item,
const char *newval);
1899 OSCAP_API
const char *xccdf_benchmark_get_lang(
const struct xccdf_benchmark *item);
1976 OSCAP_API
const char *xccdf_profile_get_id(
const struct xccdf_profile *profile);
1988 OSCAP_API
const char *xccdf_profile_get_version(
const struct xccdf_profile *profile);
1992 OSCAP_API
const char *xccdf_profile_get_extends(
const struct xccdf_profile *profile);
2000 OSCAP_API
bool xccdf_profile_get_abstract(
const struct xccdf_profile *profile);
2004 OSCAP_API
bool xccdf_profile_get_prohibit_changes(
const struct xccdf_profile *profile);
2016 OSCAP_API
struct oscap_reference_iterator *xccdf_profile_get_dc_statuses(
const struct xccdf_profile *profile);
2020 OSCAP_API
struct oscap_reference_iterator *xccdf_profile_get_references(
const struct xccdf_profile *profile);
2056 OSCAP_API
const char *xccdf_rule_get_id(
const struct xccdf_rule *rule);
2068 OSCAP_API
const char *xccdf_rule_get_version(
const struct xccdf_rule *rule);
2084 OSCAP_API
const char *xccdf_rule_get_cluster_id(
const struct xccdf_rule *rule);
2088 OSCAP_API
float xccdf_rule_get_weight(
const struct xccdf_rule *rule);
2096 OSCAP_API
const char *xccdf_rule_get_extends(
const struct xccdf_rule *rule);
2100 OSCAP_API
bool xccdf_rule_get_abstract(
const struct xccdf_rule *rule);
2104 OSCAP_API
bool xccdf_rule_get_prohibit_changes(
const struct xccdf_rule *rule);
2108 OSCAP_API
bool xccdf_rule_get_hidden(
const struct xccdf_rule *rule);
2112 OSCAP_API
bool xccdf_rule_get_selected(
const struct xccdf_rule *rule);
2116 OSCAP_API
bool xccdf_rule_get_multiple(
const struct xccdf_rule *rule);
2128 OSCAP_API
struct oscap_reference_iterator *xccdf_rule_get_dc_statuses(
const struct xccdf_rule *rule);
2132 OSCAP_API
struct oscap_reference_iterator *xccdf_rule_get_references(
const struct xccdf_rule *rule);
2140 OSCAP_API
const char *xccdf_rule_get_impact_metric(
const struct xccdf_rule *rule);
2202 OSCAP_API
const char *xccdf_group_get_id(
const struct xccdf_group *group);
2208 OSCAP_API
const char *xccdf_group_get_version(
const struct xccdf_group *group);
2216 OSCAP_API
const char *xccdf_group_get_cluster_id(
const struct xccdf_group *group);
2218 OSCAP_API
float xccdf_group_get_weight(
const struct xccdf_group *group);
2222 OSCAP_API
const char *xccdf_group_get_extends(
const struct xccdf_group *group);
2224 OSCAP_API
bool xccdf_group_get_abstract(
const struct xccdf_group *group);
2226 OSCAP_API
bool xccdf_group_get_prohibit_changes(
const struct xccdf_group *group);
2228 OSCAP_API
bool xccdf_group_get_hidden(
const struct xccdf_group *group);
2230 OSCAP_API
bool xccdf_group_get_selected(
const struct xccdf_group *group);
2236 OSCAP_API
struct oscap_reference_iterator *xccdf_group_get_dc_statuses(
const struct xccdf_group *group);
2238 OSCAP_API
struct oscap_reference_iterator *xccdf_group_get_references(
const struct xccdf_group *group);
2251 OSCAP_API
const char *xccdf_value_get_id(
const struct xccdf_value *value);
2255 OSCAP_API
const char *xccdf_value_get_extends(
const struct xccdf_value *value);
2257 OSCAP_API
bool xccdf_value_get_abstract(
const struct xccdf_value *value);
2259 OSCAP_API
bool xccdf_value_get_prohibit_changes(
const struct xccdf_value *value);
2261 OSCAP_API
bool xccdf_value_get_hidden(
const struct xccdf_value *value);
2263 OSCAP_API
bool xccdf_value_get_interactive(
const struct xccdf_value *value);
2267 OSCAP_API
struct oscap_reference_iterator *xccdf_value_get_dc_statuses(
const struct xccdf_value *value);
2269 OSCAP_API
struct oscap_reference_iterator *xccdf_value_get_references(
const struct xccdf_value *value);
2292 OSCAP_API
const char *xccdf_value_instance_get_selector(
const struct xccdf_value_instance *item);
2294 OSCAP_API
bool xccdf_value_instance_set_selector(
struct xccdf_value_instance *obj,
const char *newval);
2300 OSCAP_API
bool xccdf_value_instance_set_must_match(
struct xccdf_value_instance *obj,
bool newval);
2302 OSCAP_API
bool xccdf_value_instance_get_value_boolean(
const struct xccdf_value_instance *inst);
2304 OSCAP_API
bool xccdf_value_instance_set_value_boolean(
struct xccdf_value_instance *inst,
bool newval);
2310 OSCAP_API
const char *xccdf_value_instance_get_value_string(
const struct xccdf_value_instance *inst);
2312 OSCAP_API
bool xccdf_value_instance_set_value_string(
struct xccdf_value_instance *inst,
const char *newval);
2314 OSCAP_API
bool xccdf_value_instance_get_defval_boolean(
const struct xccdf_value_instance *inst);
2316 OSCAP_API
bool xccdf_value_instance_set_defval_boolean(
struct xccdf_value_instance *inst,
bool newval);
2322 OSCAP_API
const char *xccdf_value_instance_get_defval_string(
const struct xccdf_value_instance *inst);
2324 OSCAP_API
bool xccdf_value_instance_set_defval_string(
struct xccdf_value_instance *inst,
const char *newval);
2336 OSCAP_API
bool xccdf_value_instance_set_match(
struct xccdf_value_instance *inst,
const char *newval);
2338 OSCAP_API
const char * xccdf_value_instance_get_value(
const struct xccdf_value_instance * val);
2349 OSCAP_API time_t xccdf_status_get_date(
const struct xccdf_status *status);
2356 OSCAP_API
const char *xccdf_notice_get_id(
const struct xccdf_notice *notice);
2360 OSCAP_API
const char *xccdf_model_get_system(
const struct xccdf_model *model);
2362 OSCAP_API
const char *xccdf_ident_get_id(
const struct xccdf_ident *ident);
2364 OSCAP_API
const char *xccdf_ident_get_system(
const struct xccdf_ident *ident);
2366 OSCAP_API
const char *xccdf_check_get_id(
const struct xccdf_check *check);
2382 OSCAP_API
const char *xccdf_check_get_system(
const struct xccdf_check *check);
2384 OSCAP_API
const char *xccdf_check_get_selector(
const struct xccdf_check *check);
2386 OSCAP_API
const char *xccdf_check_get_content(
const struct xccdf_check *check);
2388 OSCAP_API
bool xccdf_check_get_multicheck(
const struct xccdf_check *check);
2390 OSCAP_API
bool xccdf_check_get_negate(
const struct xccdf_check *check);
2405 OSCAP_API
const char *xccdf_profile_note_get_reftag(
const struct xccdf_profile_note *note);
2409 OSCAP_API
const char *xccdf_check_import_get_name(
const struct xccdf_check_import *item);
2411 OSCAP_API
const char *xccdf_check_import_get_xpath(
const struct xccdf_check_import *item);
2413 OSCAP_API
const char *xccdf_check_import_get_content(
const struct xccdf_check_import *item);
2415 OSCAP_API
const char *xccdf_check_export_get_value(
const struct xccdf_check_export *item);
2417 OSCAP_API
const char *xccdf_check_export_get_name(
const struct xccdf_check_export *item);
2420 OSCAP_API
const char *xccdf_fix_get_content(
const struct xccdf_fix *fix);
2422 OSCAP_API
bool xccdf_fix_get_reboot(
const struct xccdf_fix *fix);
2430 OSCAP_API
const char *xccdf_fix_get_id(
const struct xccdf_fix *fix);
2432 OSCAP_API
const char *xccdf_fix_get_system(
const struct xccdf_fix *fix);
2434 OSCAP_API
const char *xccdf_fix_get_platform(
const struct xccdf_fix *fix);
2436 OSCAP_API
bool xccdf_fixtext_get_reboot(
const struct xccdf_fixtext *fixtext);
2444 OSCAP_API
const char *xccdf_fixtext_get_fixref(
const struct xccdf_fixtext *fixtext);
2448 OSCAP_API
const char *xccdf_value_get_version(
const struct xccdf_value *value);
2454 OSCAP_API
const char *xccdf_value_get_version_update(
const struct xccdf_value *value);
2456 OSCAP_API
const char *xccdf_value_get_version_time(
const struct xccdf_value *value);
2462 OSCAP_API
const char *xccdf_value_get_cluster_id(
const struct xccdf_value *value);
2471 OSCAP_API
const char *xccdf_item_get_cluster_id(
const struct xccdf_item *item);
2473 OSCAP_API
const char *xccdf_item_get_version_update(
const struct xccdf_item *item);
2475 OSCAP_API
const char *xccdf_item_get_version_time(
const struct xccdf_item *item);
2477 OSCAP_API
float xccdf_item_get_weight(
const struct xccdf_item *item);
2486 OSCAP_API
const char *xccdf_benchmark_get_version_update(
const struct xccdf_benchmark *benchmark);
2488 OSCAP_API
const char *xccdf_benchmark_get_version_time(
const struct xccdf_benchmark *benchmark);
2491 OSCAP_API
const char *xccdf_profile_get_version_update(
const struct xccdf_profile *profile);
2493 OSCAP_API
const char *xccdf_profile_get_version_time(
const struct xccdf_profile *profile);
2495 OSCAP_API
bool xccdf_profile_get_tailoring(
const struct xccdf_profile *profile);
2497 OSCAP_API
const char *xccdf_profile_get_note_tag(
const struct xccdf_profile *profile);
2500 OSCAP_API
const char *xccdf_rule_get_version_update(
const struct xccdf_rule *rule);
2502 OSCAP_API
const char *xccdf_rule_get_version_time(
const struct xccdf_rule *rule);
2507 OSCAP_API
const char *xccdf_group_get_version_time(
const struct xccdf_group *group);
2509 OSCAP_API
const char *xccdf_group_get_version_update(
const struct xccdf_group *group);
2521 OSCAP_API
bool xccdf_select_get_selected(
const struct xccdf_select *select);
2523 OSCAP_API
const char *xccdf_select_get_item(
const struct xccdf_select *select);
2532 OSCAP_API
const char * xccdf_refine_rule_get_item(
const struct xccdf_refine_rule* rr);
2534 OSCAP_API
const char * xccdf_refine_rule_get_selector(
const struct xccdf_refine_rule* rr);
2544 OSCAP_API
bool xccdf_refine_rule_weight_defined(
const struct xccdf_refine_rule *item);
2546 OSCAP_API
const char * xccdf_refine_value_get_item(
const struct xccdf_refine_value* rv);
2548 OSCAP_API
const char * xccdf_refine_value_get_selector(
const struct xccdf_refine_value* rv);
2554 OSCAP_API
const char *xccdf_setvalue_get_item(
const struct xccdf_setvalue* sv);
2556 OSCAP_API
const char *xccdf_setvalue_get_value(
const struct xccdf_setvalue* sv);
2559 OSCAP_API
const char *xccdf_plain_text_get_id(
const struct xccdf_plain_text *item);
2561 OSCAP_API
const char *xccdf_plain_text_get_text(
const struct xccdf_plain_text *item);
2566 OSCAP_API
const char *xccdf_result_get_id(
const struct xccdf_result *item);
2570 OSCAP_API
const char *xccdf_result_get_version(
const struct xccdf_result *item);
2576 OSCAP_API
const char *xccdf_result_get_test_system(
const struct xccdf_result *item);
2578 OSCAP_API
const char *xccdf_result_get_benchmark_uri(
const struct xccdf_result *item);
2580 OSCAP_API
const char *xccdf_result_get_profile(
const struct xccdf_result *item);
2604 OSCAP_API
const char * xccdf_result_get_start_time(
const struct xccdf_result *item);
2606 OSCAP_API
const char * xccdf_result_get_end_time(
const struct xccdf_result *item);
2623 OSCAP_API
const char * xccdf_rule_result_get_time(
const struct xccdf_rule_result *item);
2627 OSCAP_API
float xccdf_rule_result_get_weight(
const struct xccdf_rule_result *item);
2633 OSCAP_API
const char *xccdf_rule_result_get_version(
const struct xccdf_rule_result *item);
2635 OSCAP_API
const char *xccdf_rule_result_get_idref(
const struct xccdf_rule_result *item);
2649 OSCAP_API
bool xccdf_identity_get_authenticated(
const struct xccdf_identity *item);
2651 OSCAP_API
bool xccdf_identity_get_privileged(
const struct xccdf_identity *item);
2653 OSCAP_API
const char *xccdf_identity_get_name(
const struct xccdf_identity *item);
2659 OSCAP_API
const char *xccdf_score_get_system(
const struct xccdf_score *item);
2661 OSCAP_API
const char *xccdf_override_get_time(
const struct xccdf_override *item);
2667 OSCAP_API
const char *xccdf_override_get_authority(
const struct xccdf_override *item);
2673 OSCAP_API
const char *xccdf_message_get_content(
const struct xccdf_message *item);
2677 OSCAP_API
const char *xccdf_target_fact_get_value(
const struct xccdf_target_fact *item);
2679 OSCAP_API
const char *xccdf_target_fact_get_name(
const struct xccdf_target_fact *item);
2689 OSCAP_API
const char *xccdf_instance_get_context(
const struct xccdf_instance *item);
2691 OSCAP_API
const char *xccdf_instance_get_parent_context(
const struct xccdf_instance *item);
2693 OSCAP_API
const char *xccdf_instance_get_content(
const struct xccdf_instance *item);
2697 OSCAP_API
const char *xccdf_tailoring_get_id(
const struct xccdf_tailoring *tailoring);
2699 OSCAP_API
const char *xccdf_tailoring_get_version(
const struct xccdf_tailoring *tailoring);
2701 OSCAP_API
const char *xccdf_tailoring_get_version_update(
const struct xccdf_tailoring *tailoring);
2703 OSCAP_API
const char *xccdf_tailoring_get_version_time(
const struct xccdf_tailoring *tailoring);
2705 OSCAP_API
const char *xccdf_tailoring_get_benchmark_ref(
const struct xccdf_tailoring *tailoring);
2707 OSCAP_API
const char *xccdf_tailoring_get_benchmark_ref_version(
const struct xccdf_tailoring *tailoring);
2715 OSCAP_API
struct oscap_reference_iterator *xccdf_tailoring_get_dc_statuses(
const struct xccdf_tailoring *tailoring);
2739 OSCAP_API
bool xccdf_item_set_id(
struct xccdf_item *item,
const char *newval);
2741 OSCAP_API
bool xccdf_item_set_cluster_id(
struct xccdf_item *item,
const char *newval);
2743 OSCAP_API
bool xccdf_item_set_extends(
struct xccdf_item *item,
const char *newval);
2745 OSCAP_API
bool xccdf_item_set_version(
struct xccdf_item *item,
const char *newval);
2747 OSCAP_API
bool xccdf_item_set_version_time(
struct xccdf_item *item,
const char *newval);
2749 OSCAP_API
bool xccdf_item_set_version_update(
struct xccdf_item *item,
const char *newval);
2751 OSCAP_API
bool xccdf_item_set_abstract(
struct xccdf_item *item,
bool newval);
2753 OSCAP_API
bool xccdf_item_set_hidden(
struct xccdf_item *item,
bool newval);
2755 OSCAP_API
bool xccdf_item_set_prohibit_changes(
struct xccdf_item *item,
bool newval);
2757 OSCAP_API
bool xccdf_item_set_selected(
struct xccdf_item *item,
bool newval);
2760 OSCAP_API
bool xccdf_item_add_metadata(
struct xccdf_item *item,
const char* metadata);
2763 OSCAP_API
bool xccdf_benchmark_set_resolved(
struct xccdf_benchmark *item,
bool newval);
2766 OSCAP_API
bool xccdf_benchmark_set_style_href(
struct xccdf_benchmark *item,
const char *newval);
2768 OSCAP_API
bool xccdf_benchmark_set_style(
struct xccdf_benchmark *item,
const char *newval);
2770 OSCAP_API
bool xccdf_benchmark_set_id(
struct xccdf_benchmark *item,
const char *newval);
2772 OSCAP_API
bool xccdf_benchmark_set_version(
struct xccdf_benchmark *item,
const char *newval);
2774 OSCAP_API
bool xccdf_benchmark_set_version_time(
struct xccdf_benchmark *item,
const char *newval);
2776 OSCAP_API
bool xccdf_benchmark_set_version_update(
struct xccdf_benchmark *item,
const char *newval);
2780 OSCAP_API
bool xccdf_benchmark_add_metadata(
struct xccdf_benchmark* item,
const char* metadata);
2786 OSCAP_API
bool xccdf_profile_set_note_tag(
struct xccdf_profile *item,
const char *newval);
2788 OSCAP_API
bool xccdf_profile_set_id(
struct xccdf_profile *item,
const char *newval);
2790 OSCAP_API
bool xccdf_profile_set_abstract(
struct xccdf_profile *item,
bool newval);
2792 OSCAP_API
bool xccdf_profile_set_prohibit_changes(
struct xccdf_profile *item,
bool newval);
2794 OSCAP_API
bool xccdf_profile_set_extends(
struct xccdf_profile *item,
const char *newval);
2796 OSCAP_API
bool xccdf_profile_set_version(
struct xccdf_profile *item,
const char *newval);
2798 OSCAP_API
bool xccdf_profile_set_version_time(
struct xccdf_profile *item,
const char *newval);
2800 OSCAP_API
bool xccdf_profile_set_version_update(
struct xccdf_profile *item,
const char *newval);
2802 OSCAP_API
bool xccdf_profile_set_tailoring(
struct xccdf_profile *item,
bool tailoring);
2804 OSCAP_API
bool xccdf_profile_add_metadata(
struct xccdf_profile* item,
const char* metadata);
2807 OSCAP_API
bool xccdf_rule_set_id(
struct xccdf_rule *item,
const char *newval);
2809 OSCAP_API
bool xccdf_rule_set_cluster_id(
struct xccdf_rule *item,
const char *newval);
2811 OSCAP_API
bool xccdf_rule_set_extends(
struct xccdf_rule *item,
const char *newval);
2813 OSCAP_API
bool xccdf_rule_set_version(
struct xccdf_rule *item,
const char *newval);
2815 OSCAP_API
bool xccdf_rule_set_version_time(
struct xccdf_rule *item,
const char *newval);
2817 OSCAP_API
bool xccdf_rule_set_version_update(
struct xccdf_rule *item,
const char *newval);
2819 OSCAP_API
bool xccdf_rule_set_abstract(
struct xccdf_rule *item,
bool newval);
2821 OSCAP_API
bool xccdf_rule_set_hidden(
struct xccdf_rule *item,
bool newval);
2823 OSCAP_API
bool xccdf_rule_set_prohibit_changes(
struct xccdf_rule *item,
bool newval);
2825 OSCAP_API
bool xccdf_rule_set_selected(
struct xccdf_rule *item,
bool newval);
2827 OSCAP_API
bool xccdf_rule_set_multiple(
struct xccdf_rule *item,
bool newval);
2831 OSCAP_API
bool xccdf_rule_set_impact_metric(
struct xccdf_rule *item,
const char *newval);
2837 OSCAP_API
bool xccdf_rule_add_metadata(
struct xccdf_rule* item,
const char* metadata);
2840 OSCAP_API
bool xccdf_group_set_id(
struct xccdf_group *item,
const char *newval);
2842 OSCAP_API
bool xccdf_group_set_cluster_id(
struct xccdf_group *item,
const char *newval);
2844 OSCAP_API
bool xccdf_group_set_extends(
struct xccdf_group *item,
const char *newval);
2846 OSCAP_API
bool xccdf_group_set_version(
struct xccdf_group *item,
const char *newval);
2848 OSCAP_API
bool xccdf_group_set_version_time(
struct xccdf_group *item,
const char *newval);
2850 OSCAP_API
bool xccdf_group_set_version_update(
struct xccdf_group *item,
const char *newval);
2852 OSCAP_API
bool xccdf_group_set_abstract(
struct xccdf_group *item,
bool newval);
2854 OSCAP_API
bool xccdf_group_set_hidden(
struct xccdf_group *item,
bool newval);
2856 OSCAP_API
bool xccdf_group_set_prohibit_changes(
struct xccdf_group *item,
bool newval);
2858 OSCAP_API
bool xccdf_group_set_selected(
struct xccdf_group *item,
bool newval);
2860 OSCAP_API
bool xccdf_group_add_metadata(
struct xccdf_group* item,
const char* metadata);
2863 OSCAP_API
bool xccdf_value_set_id(
struct xccdf_value *item,
const char *newval);
2865 OSCAP_API
bool xccdf_value_set_cluster_id(
struct xccdf_value *item,
const char *newval);
2867 OSCAP_API
bool xccdf_value_set_extends(
struct xccdf_value *item,
const char *newval);
2869 OSCAP_API
bool xccdf_value_set_version(
struct xccdf_value *item,
const char *newval);
2871 OSCAP_API
bool xccdf_value_set_version_time(
struct xccdf_value *item,
const char *newval);
2873 OSCAP_API
bool xccdf_value_set_version_update(
struct xccdf_value *item,
const char *newval);
2875 OSCAP_API
bool xccdf_value_set_abstract(
struct xccdf_value *item,
bool newval);
2877 OSCAP_API
bool xccdf_value_set_hidden(
struct xccdf_value *item,
bool newval);
2879 OSCAP_API
bool xccdf_value_set_multiple(
struct xccdf_value *item,
bool newval);
2881 OSCAP_API
bool xccdf_value_set_prohibit_changes(
struct xccdf_value *item,
bool newval);
2885 OSCAP_API
bool xccdf_value_set_interactive(
struct xccdf_value *item,
bool newval);
2887 OSCAP_API
bool xccdf_value_add_metadata(
struct xccdf_value* item,
const char* metadata);
2890 OSCAP_API
bool xccdf_status_set_date(
struct xccdf_status *obj, time_t newval);
2895 OSCAP_API
bool xccdf_notice_set_id(
struct xccdf_notice *obj,
const char *newval);
2900 OSCAP_API
bool xccdf_model_set_system(
struct xccdf_model *obj,
const char *newval);
2903 OSCAP_API
bool xccdf_check_set_id(
struct xccdf_check *obj,
const char *newval);
2905 OSCAP_API
bool xccdf_check_set_system(
struct xccdf_check *obj,
const char *newval);
2907 OSCAP_API
bool xccdf_check_set_selector(
struct xccdf_check *obj,
const char *newval);
2909 OSCAP_API
bool xccdf_check_set_content(
struct xccdf_check *obj,
const char *newval);
2913 OSCAP_API
bool xccdf_check_set_multicheck(
struct xccdf_check *obj,
bool newval);
2915 OSCAP_API
bool xccdf_check_set_negate(
struct xccdf_check *obj,
bool newval);
2923 OSCAP_API
bool xccdf_profile_note_set_reftag(
struct xccdf_profile_note *obj,
const char *newval);
2928 OSCAP_API
bool xccdf_check_import_set_name(
struct xccdf_check_import *obj,
const char *newval);
2930 OSCAP_API
bool xccdf_check_import_set_xpath(
struct xccdf_check_import *obj,
const char *newval);
2932 OSCAP_API
bool xccdf_check_import_set_content(
struct xccdf_check_import *obj,
const char *newval);
2935 OSCAP_API
bool xccdf_check_export_set_name(
struct xccdf_check_export *obj,
const char *newval);
2937 OSCAP_API
bool xccdf_check_export_set_value(
struct xccdf_check_export *obj,
const char *newval);
2946 OSCAP_API
bool xccdf_fix_set_reboot(
struct xccdf_fix *obj,
bool newval);
2948 OSCAP_API
bool xccdf_fix_set_content(
struct xccdf_fix *obj,
const char *newval);
2950 OSCAP_API
bool xccdf_fix_set_system(
struct xccdf_fix *obj,
const char *newval);
2952 OSCAP_API
bool xccdf_fix_set_platform(
struct xccdf_fix *obj,
const char *newval);
2954 OSCAP_API
bool xccdf_fix_set_id(
struct xccdf_fix *obj,
const char *newval);
2963 OSCAP_API
bool xccdf_fixtext_set_reboot(
struct xccdf_fixtext *obj,
bool newval);
2967 OSCAP_API
bool xccdf_fixtext_set_fixref(
struct xccdf_fixtext *obj,
const char *newval);
2970 OSCAP_API
bool xccdf_select_set_item(
struct xccdf_select *obj,
const char *newval);
2972 OSCAP_API
bool xccdf_select_set_selected(
struct xccdf_select *obj,
bool newval);
2984 OSCAP_API
bool xccdf_refine_rule_set_item(
struct xccdf_refine_rule *obj,
const char *newval);
2986 OSCAP_API
bool xccdf_refine_rule_set_selector(
struct xccdf_refine_rule *obj,
const char *newval);
2999 OSCAP_API
bool xccdf_refine_value_set_item(
struct xccdf_refine_value *obj,
const char *newval);
3001 OSCAP_API
bool xccdf_refine_value_set_selector(
struct xccdf_refine_value *obj,
const char *newval);
3010 OSCAP_API
bool xccdf_setvalue_set_item(
struct xccdf_setvalue *obj,
const char *newval);
3012 OSCAP_API
bool xccdf_setvalue_set_value(
struct xccdf_setvalue *obj,
const char *newval);
3014 OSCAP_API
bool xccdf_plain_text_set_id(
struct xccdf_plain_text *obj,
const char *newval);
3016 OSCAP_API
bool xccdf_plain_text_set_text(
struct xccdf_plain_text *obj,
const char *newval);
3019 OSCAP_API
bool xccdf_result_set_id(
struct xccdf_result *item,
const char *newval);
3021 OSCAP_API
bool xccdf_result_set_test_system(
struct xccdf_result *item,
const char *newval);
3023 OSCAP_API
bool xccdf_result_set_benchmark_uri(
struct xccdf_result *item,
const char *newval);
3025 OSCAP_API
bool xccdf_result_set_profile(
struct xccdf_result *item,
const char *newval);
3027 OSCAP_API
bool xccdf_result_set_start_time(
struct xccdf_result *item,
const char *newval);
3029 OSCAP_API
bool xccdf_result_set_end_time(
struct xccdf_result *item,
const char *newval);
3031 OSCAP_API
bool xccdf_result_set_version(
struct xccdf_result *item,
const char *newval);
3033 OSCAP_API
bool xccdf_result_add_metadata(
struct xccdf_result *item,
const char *metadata);
3036 OSCAP_API
bool xccdf_rule_result_set_time(
struct xccdf_rule_result *obj,
const char *newval);
3040 OSCAP_API
bool xccdf_rule_result_set_weight(
struct xccdf_rule_result *obj,
float newval);
3046 OSCAP_API
bool xccdf_rule_result_set_version(
struct xccdf_rule_result *obj,
const char *newval);
3048 OSCAP_API
bool xccdf_rule_result_set_idref(
struct xccdf_rule_result *obj,
const char *newval);
3051 OSCAP_API
bool xccdf_identity_set_authenticated(
struct xccdf_identity *obj,
bool newval);
3053 OSCAP_API
bool xccdf_identity_set_privileged(
struct xccdf_identity *obj,
bool newval);
3055 OSCAP_API
bool xccdf_identity_set_name(
struct xccdf_identity *obj,
const char *newval);
3062 OSCAP_API
bool xccdf_score_set_system(
struct xccdf_score *obj,
const char *newval);
3065 OSCAP_API
bool xccdf_override_set_time(
struct xccdf_override *obj,
const char *newval);
3071 OSCAP_API
bool xccdf_override_set_authority(
struct xccdf_override *obj,
const char *newval);
3078 OSCAP_API
bool xccdf_message_set_content(
struct xccdf_message *obj,
const char *newval);
3081 OSCAP_API
bool xccdf_target_fact_set_string(
struct xccdf_target_fact *fact,
const char *str);
3085 OSCAP_API
bool xccdf_target_fact_set_boolean(
struct xccdf_target_fact *fact,
bool val);
3087 OSCAP_API
bool xccdf_target_fact_set_name(
struct xccdf_target_fact *obj,
const char *newval);
3099 OSCAP_API
bool xccdf_instance_set_context(
struct xccdf_instance *obj,
const char *newval);
3101 OSCAP_API
bool xccdf_instance_set_parent_context(
struct xccdf_instance *obj,
const char *newval);
3103 OSCAP_API
bool xccdf_instance_set_content(
struct xccdf_instance *obj,
const char *newval);
3106 OSCAP_API
bool xccdf_tailoring_set_id(
struct xccdf_tailoring *tailoring,
const char* newval);
3108 OSCAP_API
bool xccdf_tailoring_set_version(
struct xccdf_tailoring *tailoring,
const char* newval);
3110 OSCAP_API
bool xccdf_tailoring_set_version_update(
struct xccdf_tailoring *tailoring,
const char *newval);
3112 OSCAP_API
bool xccdf_tailoring_set_version_time(
struct xccdf_tailoring *tailoring,
const char *newval);
3114 OSCAP_API
bool xccdf_tailoring_set_benchmark_ref(
struct xccdf_tailoring *tailoring,
const char *newval);
3116 OSCAP_API
bool xccdf_tailoring_set_benchmark_ref_version(
struct xccdf_tailoring *tailoring,
const char *newval);
3137 OSCAP_API
void xccdf_ident_set_id(
struct xccdf_ident * ident,
const char *
id);
3139 OSCAP_API
void xccdf_ident_set_system(
struct xccdf_ident * ident,
const char *sys);
3147 OSCAP_API
bool xccdf_benchmark_add_platform(
struct xccdf_benchmark *item,
const char *newval);
3191 OSCAP_API
bool xccdf_profile_add_platform(
struct xccdf_profile *item,
const char *newval);
3204 OSCAP_API
bool xccdf_rule_add_platform(
struct xccdf_rule *item,
const char *newval);
3233 OSCAP_API
bool xccdf_group_add_platform(
struct xccdf_group *item,
const char *newval);
3293 OSCAP_API
bool xccdf_result_add_applicable_platform(
struct xccdf_result *item,
const char *newval);
3297 OSCAP_API
bool xccdf_result_add_organization(
struct xccdf_result *item,
const char *newval);
3299 OSCAP_API
bool xccdf_result_add_target(
struct xccdf_result *item,
const char *newval);
3307 OSCAP_API
bool xccdf_result_add_target_address(
struct xccdf_result *item,
const char *newval);
3309 OSCAP_API
bool xccdf_result_add_applicable_platform(
struct xccdf_result *item,
const char *newval);
3311 OSCAP_API
int xccdf_result_recalculate_scores(
struct xccdf_result *result,
struct xccdf_item *benchmark);
3327 OSCAP_API
bool xccdf_item_add_platform(
struct xccdf_item *item,
const char *newval);
3352 OSCAP_API
bool xccdf_rule_add_conflicts(
struct xccdf_rule *rule,
const char *conflicts);
3354 OSCAP_API
bool xccdf_group_add_conflicts(
struct xccdf_group *group,
const char *conflicts);
3356 OSCAP_API
bool xccdf_item_add_conflicts(
struct xccdf_item *item,
const char *conflicts);
Interface to Common Platform Enumeration (CPE) Dictionary.
OSCAP_API void xccdf_identity_iterator_free(struct xccdf_identity_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_refine_rule_iterator_has_more(struct xccdf_refine_rule_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_check_iterator_free(struct xccdf_check_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_check_export_iterator_has_more(struct xccdf_check_export_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_select_iterator_reset(struct xccdf_select_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_check_iterator_reset(struct xccdf_check_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_setvalue_iterator_free(struct xccdf_setvalue_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
xccdf_subst_type
Type of textual substitution.
Definition: xccdf_benchmark.h:3432
OSCAP_API bool xccdf_model_iterator_has_more(struct xccdf_model_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_refine_value_iterator_reset(struct xccdf_refine_value_iterator *it)
Reset the iterator structure (it will point to the first item in the list)
OSCAP_API struct xccdf_result * xccdf_item_to_result(struct xccdf_item *item)
Convert the item to a test result.
OSCAP_API bool xccdf_status_iterator_has_more(struct xccdf_status_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_item * xccdf_benchmark_get_item(const struct xccdf_benchmark *benchmark, const char *id)
Get benchmark xccdf:Item by ID.
OSCAP_API struct xccdf_refine_value * xccdf_refine_value_iterator_next(struct xccdf_refine_value_iterator *it)
Return the next xccdf_refine_value structure from the list and increment the iterator.
OSCAP_API struct xccdf_setvalue * xccdf_setvalue_iterator_next(struct xccdf_setvalue_iterator *it)
Return the next xccdf_setvalue structure from the list and increment the iterator.
OSCAP_API void xccdf_plain_text_iterator_free(struct xccdf_plain_text_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
xccdf_interface_hint_t
Interface hint.
Definition: xccdf_benchmark.h:74
OSCAP_API struct xccdf_benchmark * xccdf_item_to_benchmark(struct xccdf_item *item)
Convert the item to a benchmark.
xccdf_message_severity_t
Severity of an xccdf_message.
Definition: xccdf_benchmark.h:128
OSCAP_API struct xccdf_select * xccdf_select_iterator_next(struct xccdf_select_iterator *it)
Return the next xccdf_select structure from the list and increment the iterator.
OSCAP_API const char * xccdf_benchmark_supported(void)
Get supported version of XCCDF XML.
Definition: benchmark.c:650
OSCAP_API void xccdf_warning_iterator_free(struct xccdf_warning_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_rule_result * xccdf_rule_result_iterator_next(struct xccdf_rule_result_iterator *it)
Return the next xccdf_rule_result structure from the list and increment the iterator.
OSCAP_API struct xccdf_profile * xccdf_tailoring_get_profile_by_id(const struct xccdf_tailoring *tailoring, const char *profile_id)
Definition: tailoring.c:472
xccdf_type_t
Type of an XCCDF object.
Definition: xccdf_benchmark.h:57
OSCAP_API void xccdf_model_iterator_reset(struct xccdf_model_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_select_iterator_has_more(struct xccdf_select_iterator *it)
Return true if the list is not empty, false otherwise.
xccdf_level_t
XCCDF error, complexity, disruption, or severity level.
Definition: xccdf_benchmark.h:118
OSCAP_API struct xccdf_fixtext * xccdf_fixtext_iterator_next(struct xccdf_fixtext_iterator *it)
Return the next xccdf_fixtext structure from the list and increment the iterator.
OSCAP_API struct xccdf_warning * xccdf_warning_iterator_next(struct xccdf_warning_iterator *it)
Return the next xccdf_warning structure from the list and increment the iterator.
OSCAP_API void xccdf_warning_iterator_reset(struct xccdf_warning_iterator *it)
Reset the iterator structure (it makes no changes to the underlying list)
OSCAP_API bool xccdf_item_iterator_has_more(struct xccdf_item_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_check_get_complex(const struct xccdf_check *check)
True if the check is a complex check.
Definition: rule.c:692
OSCAP_API const char * xccdf_benchmark_get_plain_text(const struct xccdf_benchmark *benchmark, const char *id)
Get a plain text by ID.
Definition: benchmark.c:548
OSCAP_API struct xccdf_score * xccdf_score_iterator_next(struct xccdf_score_iterator *it)
Return the next xccdf_score structure from the list and increment the iterator.
OSCAP_API void xccdf_profile_iterator_free(struct xccdf_profile_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_check_content_ref * xccdf_check_content_ref_iterator_next(struct xccdf_check_content_ref_iterator *it)
Return the next xccdf_check_content_ref structure from the list and increment the iterator.
OSCAP_API struct xccdf_item_iterator * xccdf_benchmark_get_content(const struct xccdf_benchmark *benchmark)
Get an iterator to the bencmark content.
OSCAP_API struct xccdf_plain_text * xccdf_plain_text_iterator_next(struct xccdf_plain_text_iterator *it)
Return the next xccdf_plain_text structure from the list and increment the iterator.
OSCAP_API struct xccdf_group * xccdf_item_to_group(struct xccdf_item *item)
Convert the item to a group.
OSCAP_API void xccdf_message_iterator_free(struct xccdf_message_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_rule * xccdf_benchmark_append_new_rule(struct xccdf_benchmark *, const char *id)
Create a rule and append it to the benchmark.
Definition: benchmark.c:676
OSCAP_API void xccdf_fix_iterator_reset(struct xccdf_fix_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_rule_result_iterator_has_more(struct xccdf_rule_result_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_check_content_ref_iterator_reset(struct xccdf_check_content_ref_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_warning_iterator_has_more(struct xccdf_warning_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_item_iterator_reset(struct xccdf_item_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_refine_rule * xccdf_refine_rule_iterator_next(struct xccdf_refine_rule_iterator *it)
Return the next xccdf_refine_rule structure from the list and increment the iterator.
OSCAP_API bool xccdf_value_instance_iterator_has_more(struct xccdf_value_instance_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_target_identifier_iterator_has_more(struct xccdf_target_identifier_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_value_instance_iterator_reset(struct xccdf_value_instance_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
xccdf_operator_t
Operator to be applied on an xccdf_value.
Definition: xccdf_benchmark.h:101
OSCAP_API void xccdf_check_export_iterator_reset(struct xccdf_check_export_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_value_iterator_has_more(struct xccdf_value_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_refine_rule_iterator_reset(struct xccdf_refine_rule_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_notice_iterator_free(struct xccdf_notice_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_override_iterator_reset(struct xccdf_override_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_benchmark_resolve(struct xccdf_benchmark *benchmark)
Resolve an benchmark.
Definition: resolve.c:70
xccdf_strategy_t
Fix strategy type.
Definition: xccdf_benchmark.h:157
OSCAP_API void xccdf_identity_iterator_reset(struct xccdf_identity_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_target_identifier * xccdf_target_identifier_iterator_next(struct xccdf_target_identifier_iterator *it)
Return the next xccdf_target_identifier structure from the list and increment the iterator.
OSCAP_API const struct xccdf_version_info * xccdf_item_get_schema_version(struct xccdf_item *item)
Retrieves the XCCDF version of top-level benchmark item.
OSCAP_API void xccdf_refine_rule_iterator_free(struct xccdf_refine_rule_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_model_iterator * xccdf_benchmark_get_models(const struct xccdf_benchmark *benchmark)
Get an iterator to the benchmark scoring models.
OSCAP_API struct xccdf_group * xccdf_benchmark_append_new_group(struct xccdf_benchmark *, const char *id)
Create a group and append it to the benchmark.
Definition: benchmark.c:660
OSCAP_API void xccdf_instance_iterator_reset(struct xccdf_instance_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_score_iterator_has_more(struct xccdf_score_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_profile_note_iterator_free(struct xccdf_profile_note_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_profile_iterator_has_more(struct xccdf_profile_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_profile * xccdf_item_to_profile(struct xccdf_item *item)
Convert the item to a profile.
OSCAP_API struct xccdf_benchmark * xccdf_benchmark_import_source(struct oscap_source *source)
Import the content from oscap_source into a benchmark.
Definition: benchmark.c:54
OSCAP_API void xccdf_target_fact_iterator_free(struct xccdf_target_fact_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_profile_note * xccdf_profile_note_iterator_next(struct xccdf_profile_note_iterator *it)
Return the next xccdf_profile_note structure from the list and increment the iterator.
OSCAP_API struct xccdf_notice * xccdf_notice_iterator_next(struct xccdf_notice_iterator *it)
Return the next xccdf_notice structure from the list and increment the iterator.
OSCAP_API bool xccdf_notice_iterator_has_more(struct xccdf_notice_iterator *it)
Return true if the list is not empty, false otherwise.
xccdf_role_t
XCCDF role.
Definition: xccdf_benchmark.h:136
OSCAP_API void xccdf_result_iterator_free(struct xccdf_result_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
enum xccdf_subst_type xccdf_subst_type_t
Type of textual substitution.
OSCAP_API void xccdf_notice_iterator_reset(struct xccdf_notice_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
xccdf_warning_category_t
Category of xccdf_warning.
Definition: xccdf_benchmark.h:143
OSCAP_API void xccdf_value_iterator_free(struct xccdf_value_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_item_iterator_free(struct xccdf_item_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_message_iterator_reset(struct xccdf_message_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_fixtext_iterator_reset(struct xccdf_fixtext_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_item * xccdf_value_get_parent(const struct xccdf_value *value)
Return value's parent in the grouping hierarchy.
OSCAP_API const char * xccdf_benchmark_match_profile_id(struct xccdf_benchmark *bench, const char *profile_suffix, int *match_status)
Match a profile suffix agains profiles present in the given benchmark.
Definition: xccdf_session.c:619
OSCAP_API void xccdf_result_iterator_reset(struct xccdf_result_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_model * xccdf_model_iterator_next(struct xccdf_model_iterator *it)
Return the next xccdf_model structure from the list and increment the iterator.
float xccdf_numeric
Type of a numerical content for a XCCDF value.
Definition: xccdf_benchmark.h:198
OSCAP_API struct xccdf_value_instance * xccdf_value_instance_iterator_next(struct xccdf_value_instance_iterator *it)
Return the next xccdf_value_instance structure from the list and increment the iterator.
OSCAP_API struct xccdf_target_fact * xccdf_target_fact_iterator_next(struct xccdf_target_fact_iterator *it)
Return the next xccdf_target_fact structure from the list and increment the iterator.
OSCAP_API const char * xccdf_tailoring_match_profile_id(struct xccdf_tailoring *tailoring, const char *profile_suffix, int *match_status)
Match a profile suffix agains profiles present in the given benchmark.
Definition: xccdf_session.c:613
OSCAP_API void xccdf_score_iterator_reset(struct xccdf_score_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API int xccdf_benchmark_export(struct xccdf_benchmark *benchmark, const char *file)
Export a benchmark to an XML stream.
Definition: benchmark.c:230
OSCAP_API bool xccdf_override_iterator_has_more(struct xccdf_override_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct oscap_source * xccdf_benchmark_export_source(struct xccdf_benchmark *benchmark, const char *filename)
Export a benchmark to a source object.
Definition: benchmark.c:218
OSCAP_API bool xccdf_fix_iterator_has_more(struct xccdf_fix_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_check_iterator_has_more(struct xccdf_check_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct oscap_source * xccdf_result_stig_viewer_export_source(struct xccdf_result *result, const char *filepath)
Export TestResult to oscap_source structure using STIG Rule IDs instead of the actual rule ids.
Definition: result.c:1074
OSCAP_API void xccdf_ident_iterator_free(struct xccdf_ident_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_value_iterator_reset(struct xccdf_value_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_target_identifier_iterator_free(struct xccdf_target_identifier_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_value * xccdf_value_iterator_next(struct xccdf_value_iterator *it)
Return the next xccdf_value structure from the list and increment the iterator.
OSCAP_API void xccdf_instance_iterator_free(struct xccdf_instance_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
xccdf_value_type_t
Type of an xccdf_value.
Definition: xccdf_benchmark.h:94
OSCAP_API bool xccdf_plain_text_iterator_has_more(struct xccdf_plain_text_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_check_import_iterator_reset(struct xccdf_check_import_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_instance_iterator_has_more(struct xccdf_instance_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_score_iterator_free(struct xccdf_score_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_check_import_iterator_has_more(struct xccdf_check_import_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_check_content_ref_iterator_has_more(struct xccdf_check_content_ref_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_fix * xccdf_fix_iterator_next(struct xccdf_fix_iterator *it)
Return the next xccdf_fix structure from the list and increment the iterator.
OSCAP_API void xccdf_ident_iterator_reset(struct xccdf_ident_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_result * xccdf_result_import_source(struct oscap_source *source)
Import the content of oscap_source into a xccdf_result.
Definition: result.c:958
OSCAP_API bool xccdf_ident_iterator_has_more(struct xccdf_ident_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_result_iterator_has_more(struct xccdf_result_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API xccdf_bool_operator_t xccdf_check_get_oper(const struct xccdf_check *check)
Get an operator to be applied no children of the complex check.
OSCAP_API struct xccdf_check_iterator * xccdf_check_get_children(const struct xccdf_check *check)
Get an iterator to nested checks of the complex check.
OSCAP_API void xccdf_check_export_iterator_free(struct xccdf_check_export_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_tailoring_remove_profile(struct xccdf_tailoring *tailoring, struct xccdf_profile *profile)
Removes given profile from tailoring.
Definition: tailoring.c:93
OSCAP_API void xccdf_value_instance_iterator_free(struct xccdf_value_instance_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_setvalue_iterator_has_more(struct xccdf_setvalue_iterator *it)
Return true if the list is not empty, false otherwise.
xccdf_test_result_type_t
Test result.
Definition: xccdf_benchmark.h:170
OSCAP_API struct xccdf_status * xccdf_status_iterator_next(struct xccdf_status_iterator *it)
Return the next xccdf_status structure from the list and increment the iterator.
xccdf_status_type_t
Status of an XCCDF item.
Definition: xccdf_benchmark.h:84
OSCAP_API struct xccdf_item * xccdf_rule_get_parent(const struct xccdf_rule *rule)
Return rule's parent in the grouping hierarchy.
OSCAP_API struct xccdf_item * xccdf_item_iterator_next(struct xccdf_item_iterator *it)
Return the next xccdf_item structure from the list and increment the iterator.
OSCAP_API struct xccdf_value * xccdf_item_to_value(struct xccdf_item *item)
Convert the item to a value.
OSCAP_API void xccdf_refine_value_iterator_free(struct xccdf_refine_value_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
xccdf_bool_operator_t
Boolean operators for logical expressions.
Definition: xccdf_benchmark.h:112
OSCAP_API struct xccdf_ident * xccdf_ident_iterator_next(struct xccdf_ident_iterator *it)
Return the next xccdf_ident structure from the list and increment the iterator.
OSCAP_API bool xccdf_message_iterator_has_more(struct xccdf_message_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API bool xccdf_rule_result_override(struct xccdf_rule_result *rule_result, xccdf_test_result_type_t new_result, const char *time, const char *authority, struct oscap_text *remark)
Override the result of rule-result.
Definition: result.c:1601
OSCAP_API struct xccdf_rule * xccdf_item_to_rule(struct xccdf_item *item)
Convert the item to a rule.
OSCAP_API struct xccdf_item * xccdf_benchmark_get_member(const struct xccdf_benchmark *benchmark, xccdf_type_t type, const char *key)
Get a registered member of xccdf_benchmakr by ID.
Definition: benchmark.c:736
OSCAP_API void xccdf_check_import_iterator_free(struct xccdf_check_import_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_check_import * xccdf_check_import_iterator_next(struct xccdf_check_import_iterator *it)
Return the next xccdf_check_import structure from the list and increment the iterator.
OSCAP_API struct xccdf_check * xccdf_check_iterator_next(struct xccdf_check_iterator *it)
Return the next xccdf_check structure from the list and increment the iterator.
OSCAP_API void xccdf_select_iterator_free(struct xccdf_select_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_fix_iterator_free(struct xccdf_fix_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_rule_result_iterator_free(struct xccdf_rule_result_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct oscap_source * xccdf_result_export_source(struct xccdf_result *result, const char *filepath)
Export TestResult to oscap_source structure.
Definition: result.c:1062
OSCAP_API bool xccdf_refine_value_iterator_has_more(struct xccdf_refine_value_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_instance * xccdf_instance_iterator_next(struct xccdf_instance_iterator *it)
Return the next xccdf_instance structure from the list and increment the iterator.
OSCAP_API void xccdf_setvalue_iterator_reset(struct xccdf_setvalue_iterator *it)
Reset the iterator structure (it will point to the first item in the list)
OSCAP_API void xccdf_result_fill_sysinfo(struct xccdf_result *result)
Collect system info and store it in the TestResult.
Definition: result.c:296
OSCAP_API void xccdf_plain_text_iterator_reset(struct xccdf_plain_text_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_profile_note_iterator_reset(struct xccdf_profile_note_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_profile_iterator * xccdf_benchmark_get_profiles(const struct xccdf_benchmark *benchmark)
Get an iterator to the benchmark XCCDF profiles.
OSCAP_API struct xccdf_item_iterator * xccdf_group_get_content(const struct xccdf_group *group)
Get an iterator to the group content.
OSCAP_API bool xccdf_profile_note_iterator_has_more(struct xccdf_profile_note_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_override_iterator_free(struct xccdf_override_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_check_export * xccdf_check_export_iterator_next(struct xccdf_check_export_iterator *it)
Return the next xccdf_check_export structure from the list and increment the iterator.
OSCAP_API void xccdf_target_identifier_iterator_reset(struct xccdf_target_identifier_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_profile_iterator_reset(struct xccdf_profile_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_rule_result_iterator_reset(struct xccdf_rule_result_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_status_iterator_free(struct xccdf_status_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_message * xccdf_message_iterator_next(struct xccdf_message_iterator *it)
Return the next xccdf_message structure from the list and increment the iterator.
OSCAP_API bool xccdf_target_fact_iterator_has_more(struct xccdf_target_fact_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_profile * xccdf_profile_iterator_next(struct xccdf_profile_iterator *it)
Return the next xccdf_profile structure from the list and increment the iterator.
OSCAP_API bool xccdf_identity_iterator_has_more(struct xccdf_identity_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API void xccdf_status_iterator_reset(struct xccdf_status_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API bool xccdf_fixtext_iterator_has_more(struct xccdf_fixtext_iterator *it)
Return true if the list is not empty, false otherwise.
OSCAP_API struct xccdf_result * xccdf_result_iterator_next(struct xccdf_result_iterator *it)
Return the next xccdf_result structure from the list and increment the iterator.
OSCAP_API struct xccdf_identity * xccdf_identity_iterator_next(struct xccdf_identity_iterator *it)
Return the next xccdf_identity structure from the list and increment the iterator.
OSCAP_API struct xccdf_value * xccdf_benchmark_append_new_value(struct xccdf_benchmark *, const char *id, xccdf_value_type_t type)
Create a value and append it to the benchmark.
Definition: benchmark.c:668
OSCAP_API void xccdf_check_content_ref_iterator_free(struct xccdf_check_content_ref_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_notice_iterator * xccdf_benchmark_get_notices(const struct xccdf_benchmark *benchmark)
Get an iterator to the benchmark legal notices.
OSCAP_API void xccdf_model_iterator_free(struct xccdf_model_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API void xccdf_fixtext_iterator_free(struct xccdf_fixtext_iterator *it)
Free the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_override * xccdf_override_iterator_next(struct xccdf_override_iterator *it)
Return the next xccdf_override structure from the list and increment the iterator.
OSCAP_API void xccdf_target_fact_iterator_reset(struct xccdf_target_fact_iterator *it)
Reset the iterator structure (it makes no changes to the list structure)
OSCAP_API struct xccdf_item * xccdf_item_get_parent(const struct xccdf_item *item)
Return item's parent in the grouping hierarchy.
@ XCCDF_SUBST_LINK
substitute a hyperlink
Definition: xccdf_benchmark.h:3435
@ XCCDF_SUBST_INSTANCE
substitute cdf:instance element
Definition: xccdf_benchmark.h:3436
@ XCCDF_SUBST_SUB
substitute cdf:sub element
Definition: xccdf_benchmark.h:3434
@ XCCDF_IFACE_HINT_TEXT
Textarea.
Definition: xccdf_benchmark.h:78
@ XCCDF_IFACE_HINT_CHOICE
Choice from multiple values.
Definition: xccdf_benchmark.h:76
@ XCCDF_IFACE_HINT_TEXTLINE
Text line input widget.
Definition: xccdf_benchmark.h:77
@ XCCDF_IFACE_HINT_NONE
No interface hint.
Definition: xccdf_benchmark.h:75
@ XCCDF_IFACE_HINT_DATE
Date selection widget.
Definition: xccdf_benchmark.h:79
@ XCCDF_IFACE_HINT_DATETIME
Date and time selection widget.
Definition: xccdf_benchmark.h:80
@ XCCDF_MSG_ERROR
Error.
Definition: xccdf_benchmark.h:132
@ XCCDF_MSG_WARNING
Warning.
Definition: xccdf_benchmark.h:131
@ XCCDF_MSG_INFO
Info.
Definition: xccdf_benchmark.h:130
@ XCCDF_BENCHMARK
Type constant for xccdf_benchmark.
Definition: xccdf_benchmark.h:58
@ XCCDF_GROUP
Type constant for xccdf_group.
Definition: xccdf_benchmark.h:62
@ XCCDF_RESULT
Type constant for xccdf_result.
Definition: xccdf_benchmark.h:60
@ XCCDF_OBJECT
Represents an object, profile, result or whole benchmark (see xccdf_item)
Definition: xccdf_benchmark.h:70
@ XCCDF_RULE
Type constant for xccdf_rule.
Definition: xccdf_benchmark.h:61
@ XCCDF_ITEM
Represents items as described in the XCCDF documentation (see xccdf_item)
Definition: xccdf_benchmark.h:68
@ XCCDF_PROFILE
Type constant for xccdf_profile.
Definition: xccdf_benchmark.h:59
@ XCCDF_VALUE
Type constant for xccdf_value.
Definition: xccdf_benchmark.h:63
@ XCCDF_CONTENT
Represents selectable items, i.e. rules and groups (see xccdf_item)
Definition: xccdf_benchmark.h:66
@ XCCDF_HIGH
High.
Definition: xccdf_benchmark.h:124
@ XCCDF_MEDIUM
Medium.
Definition: xccdf_benchmark.h:123
@ XCCDF_LOW
Low.
Definition: xccdf_benchmark.h:122
@ XCCDF_UNKNOWN
Unknown.
Definition: xccdf_benchmark.h:120
@ XCCDF_INFO
Info.
Definition: xccdf_benchmark.h:121
@ XCCDF_OPERATOR_GREATER
Greater than.
Definition: xccdf_benchmark.h:104
@ XCCDF_OPERATOR_NOT_EQUAL
Inequality.
Definition: xccdf_benchmark.h:103
@ XCCDF_OPERATOR_LESS
Less than.
Definition: xccdf_benchmark.h:106
@ XCCDF_OPERATOR_EQUALS
Equality.
Definition: xccdf_benchmark.h:102
@ XCCDF_OPERATOR_PATTERN_MATCH
Match a regular expression.
Definition: xccdf_benchmark.h:108
@ XCCDF_OPERATOR_GREATER_EQUAL
Greater than or equal.
Definition: xccdf_benchmark.h:105
@ XCCDF_OPERATOR_LESS_EQUAL
Less than or equal.
Definition: xccdf_benchmark.h:107
@ XCCDF_STRATEGY_UPDATE
Install upgrade or update the system.
Definition: xccdf_benchmark.h:165
@ XCCDF_STRATEGY_RESTRICT
Adjust permissions or ACLs.
Definition: xccdf_benchmark.h:164
@ XCCDF_STRATEGY_COMBINATION
Combo of two or more of the above.
Definition: xccdf_benchmark.h:166
@ XCCDF_STRATEGY_DISABLE
Turn off or deinstall something.
Definition: xccdf_benchmark.h:160
@ XCCDF_STRATEGY_UNKNOWN
Strategy not defined.
Definition: xccdf_benchmark.h:158
@ XCCDF_STRATEGY_ENABLE
Turn on or install something.
Definition: xccdf_benchmark.h:161
@ XCCDF_STRATEGY_POLICY
Remediation by changing policies/procedures.
Definition: xccdf_benchmark.h:163
@ XCCDF_STRATEGY_CONFIGURE
Adjust target config or settings.
Definition: xccdf_benchmark.h:159
@ XCCDF_STRATEGY_PATCH
Apply a patch, hotfix, or update.
Definition: xccdf_benchmark.h:162
@ XCCDF_ROLE_UNSCORED
Check the rule and include the result in reports, but do not include it into score computations.
Definition: xccdf_benchmark.h:138
@ XCCDF_ROLE_UNCHECKED
Don't check the rule, result will be XCCDF_RESULT_UNKNOWN.
Definition: xccdf_benchmark.h:139
@ XCCDF_ROLE_FULL
Check the rule and let the result contriburte to the score and appear in reports.
Definition: xccdf_benchmark.h:137
@ XCCDF_WARNING_HARDWARE
Warning about hardware restrictions or possible impacts to hardware.
Definition: xccdf_benchmark.h:148
@ XCCDF_WARNING_PERFORMANCE
Warning about changes to target system performance.
Definition: xccdf_benchmark.h:147
@ XCCDF_WARNING_FUNCTIONALITY
Warning about possible impacts to functionality.
Definition: xccdf_benchmark.h:146
@ XCCDF_WARNING_DEPENDENCY
Warning about dependencies between this Rule and other parts of the target system.
Definition: xccdf_benchmark.h:153
@ XCCDF_WARNING_LEGAL
Warning about legal implications.
Definition: xccdf_benchmark.h:149
@ XCCDF_WARNING_MANAGEMENT
Warning about impacts to the mgmt or administration of the target system.
Definition: xccdf_benchmark.h:151
@ XCCDF_WARNING_AUDIT
Warning about impacts to audit or logging.
Definition: xccdf_benchmark.h:152
@ XCCDF_WARNING_REGULATORY
Warning about regulatory obligations.
Definition: xccdf_benchmark.h:150
@ XCCDF_WARNING_GENERAL
General-purpose warning.
Definition: xccdf_benchmark.h:145
@ XCCDF_TYPE_STRING
String.
Definition: xccdf_benchmark.h:96
@ XCCDF_TYPE_BOOLEAN
Boolean.
Definition: xccdf_benchmark.h:97
@ XCCDF_TYPE_NUMBER
Integer.
Definition: xccdf_benchmark.h:95
@ XCCDF_RESULT_INFORMATIONAL
Rule was evaluated by the checking engine, but isn't to be scored.
Definition: xccdf_benchmark.h:178
@ XCCDF_RESULT_PASS
The test passed.
Definition: xccdf_benchmark.h:171
@ XCCDF_RESULT_ERROR
An error occurred and test could not complete.
Definition: xccdf_benchmark.h:173
@ XCCDF_RESULT_FAIL
The test failed.
Definition: xccdf_benchmark.h:172
@ XCCDF_RESULT_NOT_APPLICABLE
Rule did not apply to test target.
Definition: xccdf_benchmark.h:175
@ XCCDF_RESULT_NOT_CHECKED
Rule did not cause any evaluation by the checking engine.
Definition: xccdf_benchmark.h:176
@ XCCDF_RESULT_NOT_SELECTED
Rule was not selected in the Benchmark.
Definition: xccdf_benchmark.h:177
@ XCCDF_RESULT_UNKNOWN
Could not tell what happened.
Definition: xccdf_benchmark.h:174
@ XCCDF_RESULT_FIXED
Rule failed, but was later fixed.
Definition: xccdf_benchmark.h:179
@ XCCDF_STATUS_INCOMPLETE
The item is not complete.
Definition: xccdf_benchmark.h:89
@ XCCDF_STATUS_NOT_SPECIFIED
Status was not specified by benchmark.
Definition: xccdf_benchmark.h:85
@ XCCDF_STATUS_INTERIM
Interim.
Definition: xccdf_benchmark.h:90
@ XCCDF_STATUS_ACCEPTED
Accepted.
Definition: xccdf_benchmark.h:86
@ XCCDF_STATUS_DRAFT
Draft item.
Definition: xccdf_benchmark.h:88
@ XCCDF_STATUS_DEPRECATED
Deprecated.
Definition: xccdf_benchmark.h:87
@ XCCDF_OPERATOR_AND
Logical and.
Definition: xccdf_benchmark.h:113
@ XCCDF_OPERATOR_OR
Logical or.
Definition: xccdf_benchmark.h:114
General OpenScap functions and types.
Structure representing a CPE dictionary.
Definition: cpedict_priv.h:139
CPE platform specification.
Definition: cpelang_priv.c:63
Definition: reference_priv.h:35
Definition: oscap_source.c:66
char * filepath
Filepath (if originated from file)
Definition: oscap_source.c:71
Iterator over collections of strings.
A collection of strings.
Definition: oscap_text.h:60
Internationalized string iterator.
Representation of internationalizable character strings.
Definition: text_priv.h:46
Top level XCCDF structure containing profiles, rules, values and results.
Check content references iterator.
Definition: xccdf_benchmark.h:534
XCCDF check content reference.
Definition: item.h:303
Check export iterator.
Definition: xccdf_benchmark.h:555
XCCDF check export.
Definition: item.h:314
Check import iterator.
Definition: xccdf_benchmark.h:541
XCCDF check import.
Definition: item.h:308
Check iterator.
Definition: xccdf_benchmark.h:513
XCCDF simple or complex check.
Definition: item.h:285
Fix iterator.
Definition: xccdf_benchmark.h:548
XCCDF automatic fix.
Definition: item.h:324
Textual fix iterator.
Definition: xccdf_benchmark.h:527
XCCDF textual fix instructions.
Definition: item.h:335
XCCDF rule group.
Definition: xccdf_benchmark.h:222
Ident iterator.
Definition: xccdf_benchmark.h:506
XCCDF rule ident URI.
Definition: item.h:280
Reference iterator.
Definition: xccdf_benchmark.h:444
XCCDF identity.
Definition: item.h:361
Instance iterator.
Definition: xccdf_benchmark.h:569
XCCDF instance.
Definition: item.h:404
String iterator.
Definition: xccdf_benchmark.h:423
A base class for XCCDF items.
Definition: item.h:220
Message iterator.
Definition: xccdf_benchmark.h:576
XCCDF message.
Definition: item.h:383
Model iterator.
Definition: xccdf_benchmark.h:451
XCCDF scoring model.
Definition: item.h:248
Notice iterator.
Definition: xccdf_benchmark.h:430
XCCDF benchmark legal notice.
Definition: item.h:238
Override iterator.
Definition: xccdf_benchmark.h:583
XCCDF override.
Definition: item.h:375
Plain text iterator.
Definition: xccdf_benchmark.h:625
XCCDF target fact.
Definition: item.h:410
Profile iterator.
Definition: xccdf_benchmark.h:465
Profile note iterator.
Definition: xccdf_benchmark.h:520
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.
Definition: xccdf_benchmark.h:204
Refine rule iterator.
Definition: xccdf_benchmark.h:499
XCCDF refine rule option used in the profile.
Definition: item.h:259
Refine value iterator.
Definition: xccdf_benchmark.h:493
XCCDF refine value option used in the profile.
Definition: item.h:268
Result iterator.
Definition: xccdf_benchmark.h:458
Actual results of running a XCCDF test or profile.
Definition: xccdf_benchmark.h:234
Override iterator.
Definition: xccdf_benchmark.h:590
XCCDF rule result.
Definition: item.h:344
XCCDF rule defines a test execution.
Definition: xccdf_benchmark.h:216
Override iterator.
Definition: xccdf_benchmark.h:604
XCCDF score.
Definition: item.h:369
Select iterator.
Definition: xccdf_benchmark.h:472
XCCDF select option usen in the profile.
Definition: item.h:253
Set value iterator.
Definition: xccdf_benchmark.h:486
XCCDF set value option used in the profile.
Definition: item.h:275
Status iterator.
Definition: xccdf_benchmark.h:437
XCCDF item status.
Definition: item.h:243
Stores content from xccdf:Tailoring element which can be loaded from a separate file.
Definition: item.h:171
Override iterator.
Definition: xccdf_benchmark.h:611
XCCDF target fact.
Definition: item.h:388
Override iterator.
Definition: xccdf_benchmark.h:618
Can be either <target-id-ref> or some other element.
Definition: item.h:394
Value instance iterator.
Definition: xccdf_benchmark.h:597
Select iterator.
Definition: xccdf_benchmark.h:479
XCCDF Value allows test parametrization or capturing output of tests.
Definition: xccdf_benchmark.h:228
Definition: XCCDF/elements.c:42
Warning iterator.
Definition: xccdf_benchmark.h:562
XCCDF warning.
Definition: item.h:233