From 7db8f8be65590e3b8048b4bf9625cfa56457ec97 Mon Sep 17 00:00:00 2001 From: Jan Rodak Date: Tue, 5 Mar 2024 11:20:47 +0100 Subject: [PATCH] Add CPE dict and CPE OVAL to final thin DS --- build-scripts/compose_ds.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-scripts/compose_ds.py b/build-scripts/compose_ds.py index 0b36a8a36689..c8f13cd1aee1 100755 --- a/build-scripts/compose_ds.py +++ b/build-scripts/compose_ds.py @@ -311,8 +311,11 @@ def _compose_multiple_ds(args): for xccdf in glob.glob("{}/xccdf*.xml".format(args.multiple_ds)): oval = xccdf.replace("xccdf", "oval") ocil = xccdf.replace("xccdf", "ocil") + cpe_dict = xccdf.replace("xccdf", "cpe_dict") + cpe_oval = xccdf.replace("xccdf", "cpe_oval") + ds = compose_ds( - xccdf, oval, ocil, args.cpe_dict, args.cpe_oval, args.enable_sce + xccdf, oval, ocil, cpe_dict, cpe_oval, args.enable_sce ) output_13 = _get_thin_ds_output_path(args.output_13, xccdf.replace("xccdf_", "")) output_12 = None