36#include "oscap_export.h"
71OSCAP_API
int ds_sds_compose_add_component(
const char *target_datastream,
const char *datastream_id,
const char *new_component,
bool extended);
95OSCAP_API
int ds_rds_create(
const char* sds_file,
const char* xccdf_result_file,
96 const char** oval_result_files,
const char* target_file);
185OSCAP_API
void ds_sds_index_free(
struct ds_sds_index* s);
214 const char** datastream_id,
const char** component_id);
233 const char *benchmark_id,
const char **datastream_id,
const char **component_ref_id);
269OSCAP_API
const char* rds_asset_index_get_id(
struct rds_asset_index* s);
329OSCAP_API
struct rds_index* rds_index_new(
void);
331OSCAP_API
void rds_index_free(
struct rds_index *s);
347OSCAP_API
int rds_index_select_report(
struct rds_index *s,
const char **report_id);
OSCAP_API 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
Definition rds.c:865
OSCAP_API int ds_sds_compose_from_xccdf(const char *xccdf_file, const char *target_datastream)
takes given xccdf file and constructs a source datastream
Definition sds.c:1311
OSCAP_API 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
Definition sds_index.c:403
OSCAP_API const char * ds_stream_index_get_id(struct ds_stream_index *s)
Gets ID of the <data-stream> element the index represents.
Definition sds_index.c:85
OSCAP_API int ds_sds_index_select_checklist_by_benchmark_id(struct ds_sds_index *s, const char *benchmark_id, const char **datastream_id, const char **component_ref_id)
chooses datastream and checklist component ref ID combination, given benchmark ID
Definition sds_index.c:451
OSCAP_API 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
Definition sds.c:1174
OSCAP_API const char * ds_stream_index_get_timestamp(struct ds_stream_index *s)
Timestamp of creation OR modification of the <data-stream> element the index represents.
Definition sds_index.c:90
OSCAP_API const char * ds_stream_index_get_version(struct ds_stream_index *s)
scap-version of the the <data-stream> element the index represents.
Definition sds_index.c:95
General OpenScap functions and types.
Retrieves iterator over all components inside the <extended-components> element.
Definition sds_index.c:209
Contains information about one particular "<data-stream>" element in the datastream collection (also ...
Definition sds_index.c:38
Definition rds_asset_index.c:39
Represents <asset-report-collection> element - the root element of each result datastream in Asset Re...
Definition rds_index.c:40
Definition rds_report_index.c:37
Definition rds_report_request_index.c:37