XCCDF Rule. More...
#include <xccdf.h>
Related Functions | |
(Note that these are not member functions.) | |
const char * | xccdf_rule_get_id (const struct xccdf_rule *rule) |
Get rule ID. | |
const char * | xccdf_rule_get_title (const struct xccdf_rule *rule) |
Get rule title. | |
const char * | xccdf_rule_get_description (const struct xccdf_rule *rule) |
Get rule description. | |
const char * | xccdf_rule_get_version (const struct xccdf_rule *rule) |
Get rule version. | |
const char * | xccdf_rule_get_question (const struct xccdf_rule *rule) |
Get rule question. | |
const char * | xccdf_rule_get_rationale (const struct xccdf_rule *rule) |
Get rule rationale. | |
const char * | xccdf_rule_get_cluster_id (const struct xccdf_rule *rule) |
Get rule cluster ID. | |
struct xccdf_check * | xccdf_rule_get_check (const struct xccdf_rule *rule) |
Get rule's currently selected check. | |
float | xccdf_rule_get_weight (const struct xccdf_rule *rule) |
Get rule scoring weight. | |
struct xccdf_rule * | xccdf_rule_get_extends (const struct xccdf_rule *rule) |
Return rule's parent in the inheritance hierarchy. | |
struct xccdf_item * | xccdf_rule_get_parent (const struct xccdf_rule *rule) |
Return rule's parent in the grouping hierarchy. | |
bool | xccdf_rule_get_abstract (const struct xccdf_rule *rule) |
Return whether the rule is abstract. | |
bool | xccdf_rule_get_prohibit_changes (const struct xccdf_rule *rule) |
Return whether the rule has the prohibit changes flag set to true. | |
bool | xccdf_rule_get_hidden (const struct xccdf_rule *rule) |
Return whether the rule has the hidden flag set to true. | |
bool | xccdf_rule_get_selected (const struct xccdf_rule *rule) |
Return whether the rule is selected. | |
bool | xccdf_rule_get_multiple (const struct xccdf_rule *rule) |
Return whether the rule has the multiple flag set to true. | |
struct oscap_string_iterator * | xccdf_rule_get_platforms (const struct xccdf_rule *rule) |
Get an iterator to rule platforms. | |
struct xccdf_status_iterator * | xccdf_rule_get_statuses (const struct xccdf_rule *rule) |
Get an iterator to rule statuses. | |
struct xccdf_reference_iterator * | xccdf_rule_get_references (const struct xccdf_rule *rule) |
Get an iterator to the XCCDF references of the rule. | |
xccdf_status_type_t | xccdf_rule_get_status_current (const struct xccdf_rule *rule) |
Get rule current status. | |
const char * | xccdf_rule_get_impact_metric (const struct xccdf_rule *rule) |
Get rule impact metric. | |
xccdf_role_t | xccdf_rule_get_role (const struct xccdf_rule *rule) |
Get rule role. | |
xccdf_level_t | xccdf_rule_get_severity (const struct xccdf_rule *rule) |
Get rule severity level. | |
struct xccdf_ident_iterator * | xccdf_rule_get_idents (const struct xccdf_rule *rule) |
Get an iterator to the idents of the rule. | |
struct xccdf_check_iterator * | xccdf_rule_get_checks (const struct xccdf_rule *rule) |
Get an iterator to the checks of the rule. | |
struct xccdf_profile_note_iterator * | xccdf_rule_get_profile_notes (const struct xccdf_rule *rule) |
Get an iterator to the profile notes of the rule. | |
struct xccdf_fix_iterator * | xccdf_rule_get_fixes (const struct xccdf_rule *rule) |
Get an iterator to fixes for the rule. | |
struct xccdf_fixtext_iterator * | xccdf_rule_get_fixtexts (const struct xccdf_rule *rule) |
Get an iterator to fix descriptions the rule. |
XCCDF Rule.