ssg.build_derivatives module
Common functions for enabling derivative products
- ssg.build_derivatives.add_cpe_item_to_dictionary(tree_root, product_yaml_path, cpe_ref, id_name, cpe_items_dir)[source]
- ssg.build_derivatives.add_cpes(elem, namespace, mapping)[source]
Adds derivative CPEs next to RHEL ones, checks XCCDF elements of given namespace.
- ssg.build_derivatives.add_notice(benchmark, namespace, notice, warning)[source]
Adds derivative notice as the first notice to given benchmark.
- ssg.build_derivatives.add_oval_definition_to_cpe_oval(root, unlinked_oval_file_path, oval_def_id)[source]
- ssg.build_derivatives.remove_cce_reference(tree_root, namespace)[source]
Remove CCE identifiers from OVAL checks in XML tree