ssg.build_sce module

ssg.build_sce.checks(env_yaml, yaml_path, sce_dirs, template_builder, output)[source]

Walks the build system and builds all SCE checks (and metadata entry) into the output directory.

ssg.build_sce.collect_sce_checks(datastreamtree)[source]
ssg.build_sce.load_sce_and_metadata(file_path, local_env_yaml)[source]

For the given SCE audit file (file_path) under the specified environment (local_env_yaml), parse the file while expanding Jinja macros and read any metadata headers the file contains. Note that the last keyword of a specified type is the recorded one.

Returns (audit_content, metadata).

ssg.build_sce.load_sce_and_metadata_parsed(raw_content)[source]