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()
CPEALLogicalTestCPEDoesNotExistCPEItemCPEItem.KEYSCPEItem.MANDATORY_KEYSCPEItem.cpe_oval_def_idCPEItem.cpe_oval_short_def_idCPEItem.create_resolved_cpe_item_for_fact_ref()CPEItem.from_yaml()CPEItem.is_cpe_name()CPEItem.nsCPEItem.prefixCPEItem.set_conditional()CPEItem.set_cpe_oval_def_id()CPEItem.set_template_variables()CPEItem.to_xml_element()
CPEListProductCPEsProductCPEs.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_cpes_from_list()ProductCPEs.load_product_cpes()ProductCPEs.load_product_cpes_from_list()
extract_env_obj()extract_referred_nodes()extract_subelement()get_linked_cpe_oval_document()
- 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()AnsibleRemediation.update()AnsibleRemediation.update_tags_from_config()AnsibleRemediation.update_tags_from_rule()AnsibleRemediation.update_when_from_rule()
BashRemediationBlueprintRemediationBootcRemediationHummingbirdRemediationIgnitionRemediationKickstartRemediationKubernetesRemediationPuppetRemediationRemediationRemediation.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()
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.KEYSBenchmark.MANDATORY_KEYSBenchmark.GENERIC_FILENAMEBenchmark.GENERIC_FILENAMEBenchmark.KEYSBenchmark.MANDATORY_KEYSBenchmark.add_group()Benchmark.add_profiles_from_dir()Benchmark.add_rule()Benchmark.add_value()Benchmark.drop_rules_not_included_in_a_profile()Benchmark.from_yaml()Benchmark.get_benchmark_xml_for_profiles()Benchmark.get_components_not_included_in_a_profiles()Benchmark.get_not_used_cpe_platforms()Benchmark.get_rules_selected_in_all_profiles()Benchmark.get_used_cpe_platforms()Benchmark.get_variables_of_rules()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()
BuildLoaderDirectoryLoaderDirectoryLoader.profiles_dirDirectoryLoader.env_yamlDirectoryLoader.product_cpesDirectoryLoader.benchmark_fileDirectoryLoader.group_fileDirectoryLoader.loaded_groupDirectoryLoader.rule_filesDirectoryLoader.value_filesDirectoryLoader.subdirectoriesDirectoryLoader.all_valuesDirectoryLoader.all_rulesDirectoryLoader.all_groupsDirectoryLoader.parent_groupDirectoryLoader.load_benchmark_or_group()DirectoryLoader.process_directory_tree()DirectoryLoader.process_directory_trees()DirectoryLoader.save_all_entities()DirectoryLoader.save_entities()
GroupGroup.GENERIC_FILENAMEGroup.KEYSGroup.MANDATORY_KEYSGroup.GENERIC_FILENAMEGroup.KEYSGroup.MANDATORY_KEYSGroup.add_group()Group.add_rule()Group.add_value()Group.contains_rules()Group.contains_variables()Group.get_not_included_components()Group.get_used_cpe_platforms()Group.load_entities()Group.process_input_dict()Group.remove_rules_with_ids_not_listed()Group.represent_as_dict()Group.to_xml_element()
LinearLoaderLinearLoader.resolved_rules_dirLinearLoader.rulesLinearLoader.resolved_profiles_dirLinearLoader.profilesLinearLoader.resolved_groups_dirLinearLoader.groupsLinearLoader.resolved_values_dirLinearLoader.valuesLinearLoader.resolved_platforms_dirLinearLoader.platformsLinearLoader.fixes_dirLinearLoader.fixesLinearLoader.resolved_cpe_items_dirLinearLoader.cpe_itemsLinearLoader.benchmarkLinearLoader.env_yamlLinearLoader.product_cpesLinearLoader.off_ocilLinearLoader.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.get_benchmark_xml()LinearLoader.get_benchmark_xml_by_profile()LinearLoader.load_benchmark()LinearLoader.load_compiled_content()LinearLoader.load_entities_by_id()
PlatformPlatform.KEYSPlatform.MANDATORY_KEYSPlatform.prefixPlatform.nsPlatform.KEYSPlatform.MANDATORY_KEYSPlatform.from_compiled_json()Platform.from_text()Platform.from_yaml()Platform.get_fact_refs()Platform.get_remediation_conditional()Platform.get_xml()Platform.nsPlatform.prefixPlatform.to_xml_element()Platform.update_conditional_from_cpe_items()
RuleRule.KEYSRule.MANDATORY_KEYSRule.GENERIC_FILENAMERule.ID_LABELRule.PRODUCT_REFERENCESRule.GENERIC_FILENAMERule.ID_LABELRule.KEYSRule.MANDATORY_KEYSRule.PRODUCT_REFERENCESRule.add_control_reference()Rule.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.merge_control_references()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_references()
Valueadd_benchmark_metadata()add_nondata_subelements()add_platform_if_not_defined()add_reference_elements()add_reference_title_elements()add_warning_elements()check_warnings()noop_rule_filterfunc()reorder_according_to_ordering()restore_original_test_object()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
ControlControlsManagerControlsManager.controls_dirsControlsManager.env_yamlControlsManager.existing_rulesControlsManager.policiesControlsManager.add_references()ControlsManager.check_all_rules_exist()ControlsManager.get_all_controls()ControlsManager.get_all_controls_dict()ControlsManager.get_all_controls_of_level()ControlsManager.get_control()ControlsManager.load()ControlsManager.load_compiled()ControlsManager.policiesControlsManager.remove_selections_not_known()ControlsManager.resolve_controls()ControlsManager.save_everything()
InvalidStatusLevelPolicyPolicy.idPolicy.env_yamlPolicy.filepathPolicy.controls_dirPolicy.controlsPolicy.controls_by_idPolicy.levelsPolicy.levels_by_idPolicy.titlePolicy.sourcePolicy.reference_typePolicy.productPolicy.add_references()Policy.check_all_rules_exist()Policy.check_levels_validity()Policy.default_levelPolicy.get_control()Policy.get_level()Policy.get_level_with_ancestors_sequence()Policy.load()Policy.remove_selections_not_known()Policy.represent_as_dict()Policy.save_controls_tree()
StatusStatus.SUPPORTEDStatus.PLANNEDStatus.PENDINGStatus.PARTIALStatus.NOT_APPLICABLEStatus.MANUALStatus.INHERENTLY_METStatus.DOES_NOT_MEETStatus.DOCUMENTATIONStatus.AUTOMATEDStatus.AUTOMATEDStatus.DOCUMENTATIONStatus.DOES_NOT_MEETStatus.INHERENTLY_METStatus.MANUALStatus.NOT_APPLICABLEStatus.PARTIALStatus.PENDINGStatus.PLANNEDStatus.SUPPORTEDStatus.from_control_info()Status.get_status_list()
- 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.profiles module
- ssg.requirement_specs module
- ssg.rule_dir_stats module
filter_rule_ids()get_affected_products()get_all_affected_products()missing_oval()missing_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.templates module
BuilderBuilder.env_yamlBuilder.resolved_rules_dirBuilder.templates_dirBuilder.remediations_dirBuilder.checks_dirBuilder.platforms_dirBuilder.cpe_items_dirBuilder.output_dirsBuilder.templatesBuilder.product_cpesBuilder.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_platform()parse_template_boolean_value()product_to_name()product_to_platform()read_file_list()recurse_or_substitute_or_do_nothing()required_key()select_templated_tests()sha256()split_string_content()subset_dict()write_list_file()
- ssg.variables module
- 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