XCCDF rule group. More...
#include <xccdf.h>
Public Member Functions | |
const char * | xccdf_group_get_id (const struct xccdf_group *group) |
Get group ID. | |
struct oscap_text_iterator * | xccdf_group_get_title (const struct xccdf_group *group) |
Get group title. | |
struct oscap_text_iterator * | xccdf_group_get_description (const struct xccdf_group *group) |
Get group description. | |
const char * | xccdf_group_get_version (const struct xccdf_group *group) |
Get group version. | |
struct oscap_text_iterator * | xccdf_group_get_question (const struct xccdf_group *group) |
Get group question. | |
struct xccdf_warning_iterator * | xccdf_group_get_warnings (const struct xccdf_group *group) |
Get group question. | |
struct oscap_text_iterator * | xccdf_group_get_rationale (const struct xccdf_group *group) |
Get group rationale. | |
const char * | xccdf_group_get_cluster_id (const struct xccdf_group *group) |
Get group cluster ID. | |
float | xccdf_group_get_weight (const struct xccdf_group *group) |
Get group scoring weight. | |
struct xccdf_group * | xccdf_group_get_extends (const struct xccdf_group *group) |
Return group's parent in the inheritance hierarchy. | |
struct xccdf_item * | xccdf_group_get_parent (const struct xccdf_group *group) |
Return group's parent in the grouping hierarchy. | |
bool | xccdf_group_get_abstract (const struct xccdf_group *group) |
Return whether the group is abstract. | |
bool | xccdf_group_get_prohibit_changes (const struct xccdf_group *group) |
Return whether the group has the prohibit changes flag set to true. | |
bool | xccdf_group_get_hidden (const struct xccdf_group *group) |
Return whether the group has the hidden flag set to true. | |
bool | xccdf_group_get_selected (const struct xccdf_group *group) |
Return whether the group is selected. | |
struct oscap_string_iterator * | xccdf_group_get_platforms (const struct xccdf_group *group) |
Get an iterator to group platforms. | |
struct xccdf_status_iterator * | xccdf_group_get_statuses (const struct xccdf_group *group) |
Get an iterator to group statuses. | |
struct xccdf_reference_iterator * | xccdf_group_get_references (const struct xccdf_group *group) |
Get an iterator to the XCCDF references of the group. | |
struct xccdf_item_iterator * | xccdf_group_get_content (const struct xccdf_group *benchmark) |
Get an iterator to the group content. | |
xccdf_status_type_t | xccdf_group_get_status_current (const struct xccdf_group *group) |
Get group current status. | |
bool | xccdf_group_get_resolved (const struct xccdf_group *group) |
bool | xccdf_group_get_multiple (const struct xccdf_group *group) |
bool | xccdf_group_get_interactive (const struct xccdf_group *group) |
time_t | xccdf_group_get_version_time (const struct xccdf_group *group) |
const char * | xccdf_group_get_version_update (const struct xccdf_group *group) |
struct xccdf_benchmark * | xccdf_group_get_benchmark (const struct xccdf_group *group) |
XCCDF rule group.
bool xccdf_group_get_abstract | ( | const struct xccdf_group * | group | ) |
Return whether the group is abstract.
struct xccdf_benchmark * xccdf_group_get_benchmark | ( | const struct xccdf_group * | group | ) | [read] |
struct xccdf_item_iterator * xccdf_group_get_content | ( | const struct xccdf_group * | benchmark | ) | [read] |
Get an iterator to the group content.
The items are either groups or rules.
bool xccdf_group_get_hidden | ( | const struct xccdf_group * | group | ) |
Return whether the group has the hidden flag set to true.
bool xccdf_group_get_interactive | ( | const struct xccdf_group * | group | ) |
bool xccdf_group_get_multiple | ( | const struct xccdf_group * | group | ) |
struct xccdf_item * xccdf_group_get_parent | ( | const struct xccdf_group * | group | ) | [read] |
Return group's parent in the grouping hierarchy.
Returned item will be either a group or a benchmark.
bool xccdf_group_get_prohibit_changes | ( | const struct xccdf_group * | group | ) |
Return whether the group has the prohibit changes flag set to true.
bool xccdf_group_get_resolved | ( | const struct xccdf_group * | group | ) |
bool xccdf_group_get_selected | ( | const struct xccdf_group * | group | ) |
Return whether the group is selected.
time_t xccdf_group_get_version_time | ( | const struct xccdf_group * | group | ) |
const char * xccdf_group_get_version_update | ( | const struct xccdf_group * | group | ) |
float xccdf_group_get_weight | ( | const struct xccdf_group * | group | ) |
Get group scoring weight.