Open SCAP Library
Functions
scap_ds.h File Reference

Open-scap Data Stream interface. More...

#include "oscap.h"

Go to the source code of this file.

Functions

int ds_sds_decompose (const char *input_file, const char *id, const char *xccdf_id, const char *target_dir, const char *target_filename)
 takes given source data stream and decomposes it into separate files
int ds_sds_decompose_custom (const char *input_file, const char *id, const char *target_dir, const char *container_name, const char *component_id, const char *target_filename)
 same as ds_sds_decompose but works with other components than just XCCDFs
int ds_sds_compose_from_xccdf (const char *xccdf_file, const char *target_datastream)
 takes given xccdf file and constructs a source datastream
int ds_sds_compose_add_component (const char *target_datastream, const char *datastream_id, const char *new_component, bool extended)
 append a new given component to the existing source datastream
int ds_rds_create (const char *sds_file, const char *xccdf_result_file, const char **oval_result_files, const char *target_file)
 takes given source data stream and XCCDF result file and makes a result data stream
int ds_sds_index_select_checklist (struct ds_sds_index *s, const char **datastream_id, const char **component_id)
 chooses datastream and checklist id combination given the IDs

Detailed Description

Open-scap Data Stream interface.

Author:
Martin Preisler mprei.nosp@m.sle@.nosp@m.redha.nosp@m.t.co.nosp@m.m