ssg package
Subpackages
- ssg.entities package
- ssg.ext package
- ssg.oval_object_model package
Submodules
- ssg.ansible module
- ssg.boolean_expression module
- ssg.build_cpe module
CPEALCheckFactRefCPEALCheckFactRef.cpe_id_is_parametrized()CPEALCheckFactRef.enrich_with_cpe_info()CPEALCheckFactRef.get_base_name_of_parametrized_cpe_id()CPEALCheckFactRef.nsCPEALCheckFactRef.prefixCPEALCheckFactRef.to_ansible_conditional()CPEALCheckFactRef.to_bash_conditional()CPEALCheckFactRef.to_xml_element()
CPEALLogicalTestCPEDoesNotExistCPEItemCPEListProductCPEsProductCPEs.add_cpe_item()ProductCPEs.add_resolved_cpe_items_from_platform()ProductCPEs.get_cpe()ProductCPEs.get_cpe_for_fact_ref()ProductCPEs.get_cpe_name()ProductCPEs.get_product_cpe_names()ProductCPEs.load_content_cpes()ProductCPEs.load_cpes_from_directory_tree()ProductCPEs.load_product_cpes()
extract_env_obj()extract_referred_nodes()extract_subelement()
- ssg.build_derivatives module
- ssg.build_guides module
- ssg.build_ovals module
- ssg.build_profile module
- ssg.build_remediations module
AnacondaRemediationAnsibleRemediationAnsibleRemediation.from_snippet_and_rule()AnsibleRemediation.get_references()AnsibleRemediation.inject_package_facts_task()AnsibleRemediation.parse_from_file_with_jinja()AnsibleRemediation.update()AnsibleRemediation.update_tags_from_config()AnsibleRemediation.update_tags_from_rule()AnsibleRemediation.update_when_from_rule()
BashRemediationBlueprintRemediationIgnitionRemediationKubernetesRemediationPuppetRemediationRemediationRemediation.associate_rule()Remediation.expand_env_yaml_from_rule()Remediation.get_inherited_conditionals()Remediation.get_inherited_cpe_platform_names()Remediation.get_rule_specific_conditionals()Remediation.get_rule_specific_cpe_platform_names()Remediation.get_stripped_conditionals()Remediation.parse_from_file_with_jinja()
RemediationObjectexpand_xccdf_subs()get_rule_dir_remediations()is_supported_filename()load_compiled_remediations()parse_from_file_with_jinja()parse_from_file_without_jinja()process()split_remediation_content_and_metadata()write_fix_to_file()
- ssg.build_renumber module
- ssg.build_sce module
- ssg.build_stig module
- ssg.build_yaml module
BenchmarkBenchmark.GENERIC_FILENAMEBenchmark.KEYSBenchmark.MANDATORY_KEYSBenchmark.add_group()Benchmark.add_profiles_from_dir()Benchmark.add_rule()Benchmark.add_value()Benchmark.from_yaml()Benchmark.load_entities()Benchmark.process_input_dict()Benchmark.represent_as_dict()Benchmark.to_file()Benchmark.to_xccdf()Benchmark.to_xml_element()Benchmark.unselect_empty_groups()
BuildLoaderDirectoryLoaderGroupLinearLoaderLinearLoader.add_fixes_to_rules()LinearLoader.export_benchmark_to_file()LinearLoader.export_benchmark_to_xml()LinearLoader.export_ocil_to_file()LinearLoader.export_ocil_to_xml()LinearLoader.find_first_groups_ids()LinearLoader.load_benchmark()LinearLoader.load_compiled_content()LinearLoader.load_entities_by_id()
PlatformRuleRule.GENERIC_FILENAMERule.ID_LABELRule.KEYSRule.MANDATORY_KEYSRule.PRODUCT_REFERENCESRule.add_fixes()Rule.add_stig_references()Rule.find_policy_specific_content()Rule.from_yaml()Rule.get_template_context()Rule.load_policy_specific_content()Rule.make_refs_and_identifiers_product_specific()Rule.normalize()Rule.read_policy_specific_content()Rule.read_policy_specific_content_file()Rule.to_ocil()Rule.to_xml_element()Rule.triage_policy_specific_content()Rule.validate_identifiers()Rule.validate_prodtype()Rule.validate_references()
Valueadd_benchmark_metadata()add_nondata_subelements()add_platform_if_not_defined()add_reference_elements()add_warning_elements()check_warnings()noop_rule_filterfunc()reorder_according_to_ordering()rule_filter_from_def()
- ssg.cce module
- ssg.checks module
- ssg.components module
- ssg.constants module
- ssg.content_diff module
StandardContentDifferStandardContentDiffer.compare_check_file_names()StandardContentDiffer.compare_check_ids()StandardContentDiffer.compare_checks()StandardContentDiffer.compare_ocils()StandardContentDiffer.compare_ovals()StandardContentDiffer.compare_platforms()StandardContentDiffer.compare_remediations()StandardContentDiffer.compare_rule()StandardContentDiffer.compare_rule_texts()StandardContentDiffer.compare_rules()StandardContentDiffer.generate_diff_text()StandardContentDiffer.get_check_docs()StandardContentDiffer.output_diff()StandardContentDiffer.serialize_elements()
StigContentDiffer
- ssg.contributors module
- ssg.controls module
- ssg.environment module
- ssg.fixes module
- ssg.id_translate module
- ssg.jinja module
- ssg.oval module
- ssg.parse_oval module
- ssg.playbook_builder module
PlaybookBuilderPlaybookBuilder.build()PlaybookBuilder.choose_variable_value()PlaybookBuilder.create_playbook()PlaybookBuilder.create_playbook_for_single_rule()PlaybookBuilder.create_playbooks_for_all_rules()PlaybookBuilder.create_playbooks_for_all_rules_in_profile()PlaybookBuilder.get_benchmark_variables()PlaybookBuilder.get_data_from_snippet()PlaybookBuilder.open_profile()
- ssg.products module
- ssg.requirement_specs module
- ssg.rule_dir_stats module
filter_rule_ids()get_affected_products()get_all_affected_products()missing_oval()missing_remediation()prodtypes_oval()prodtypes_remediation()product_names_oval()product_names_remediation()two_plus_oval()two_plus_remediation()walk_rule_stats()walk_rules()walk_rules_diff()walk_rules_diff_stats()walk_rules_parallel()walk_rules_stats()
- ssg.rule_yaml module
- ssg.rules module
- ssg.shims module
- ssg.templates module
BuilderBuilder.build()Builder.build_all_platforms()Builder.build_all_rules()Builder.build_cpe()Builder.build_extra_ovals()Builder.build_lang_for_templatable()Builder.build_platform()Builder.build_rule()Builder.get_lang_contents_for_templatable()Builder.get_resolved_langs_to_generate()Builder.process_template_lang_file()Builder.write_lang_contents_for_templatable()
TemplateTemplatingLangload_module()
- ssg.utils module
SSGErrorVersionSpecifierVersionSpecifierSetapply_formatting_on_dict_values()banner_anchor_wrap()banner_regexify()check_conflict_regex_directory()comparison_to_oval()ensure_file_paths_and_file_regexes_are_correctly_defined()enum()escape_comparison()escape_id()escape_regex()escape_yaml_key()get_cpu_count()get_fixed_product_version()is_applicable()is_applicable_for_product()map_name()merge_dicts()mkdir_p()name_to_platform()parse_name()parse_template_boolean_value()prodtype_to_name()prodtype_to_platform()read_file_list()recurse_or_substitute_or_do_nothing()required_key()sha256()split_string_content()subset_dict()write_list_file()
- ssg.xccdf module
- ssg.xml module
XMLBenchmarkXMLCPEPlatformXMLComponentXMLContentXMLElementXMLOcilQuestionXMLOcilQuestionnaireXMLOcilTestActionXMLOvalDefinitionXMLRuleadd_xhtml_namespace()determine_xccdf_tree_namespace()get_element_namespace()get_element_tag_without_ns()get_namespaces_from()map_elements_to_their_ids()open_xml()oval_generated_header()parse_file()register_namespaces()
- ssg.yaml module