8282from .scanner_analysis import (
8383 build_scanner_report_markdown as _runbook_report_build_scanner_report_markdown ,
8484 extract_scanner_counters as _analysis_extract_scanner_counters ,
85- build_runbook_rows as _analysis_build_runbook_rows ,
8685 render_runbook as _runbook_report_render_runbook ,
8786 render_runbook_csv as _runbook_report_render_runbook_csv ,
8887)
8988from .scanner_readme import (
9089 _append_scanner_report_section_if_enabled as _readme_append_scanner_report_section_if_enabled ,
91- _compose_section_body as _readme_compose_section_body ,
92- _generated_merge_markers as _readme_generated_merge_markers ,
93- _render_guide_identity_sections as _readme_render_guide_identity_sections ,
9490 _render_guide_section_body as _readme_render_guide_section_body ,
95- _render_readme_with_style_guide as _readme_render_readme_with_style_guide ,
96- _resolve_ordered_style_sections as _readme_resolve_ordered_style_sections ,
97- _resolve_section_content_mode as _readme_resolve_section_content_mode ,
98- _strip_prior_generated_merge_block as _readme_strip_prior_generated_merge_block ,
9991 normalize_style_heading ,
10092 parse_style_readme ,
10193)
@@ -899,24 +891,15 @@ def load_readme_section_config(
899891 )
900892
901893
902- _render_guide_identity_sections = _readme_render_guide_identity_sections
903-
904-
905894_render_guide_section_body = partial (
906895 _readme_render_guide_section_body ,
907896 variable_guidance_keywords = _VARIABLE_GUIDANCE_KEYWORDS ,
908897)
909898
910899
911- _generated_merge_markers = _readme_generated_merge_markers
912- _strip_prior_generated_merge_block = _readme_strip_prior_generated_merge_block
913- _resolve_section_content_mode = _readme_resolve_section_content_mode
914- _compose_section_body = _readme_compose_section_body
915- _resolve_ordered_style_sections = _readme_resolve_ordered_style_sections
916900_append_scanner_report_section_if_enabled = (
917901 _readme_append_scanner_report_section_if_enabled
918902)
919- _render_readme_with_style_guide = _readme_render_readme_with_style_guide
920903
921904
922905_build_scanner_report_markdown = partial (
@@ -925,15 +908,6 @@ def load_readme_section_config(
925908)
926909
927910
928- _extract_scanner_counters = _analysis_extract_scanner_counters
929-
930-
931- _build_runbook_rows = _analysis_build_runbook_rows
932-
933-
934- _build_requirements_display = _runbook_report_build_requirements_display
935-
936-
937911_resolve_scan_identity = partial (
938912 _scan_discovery_resolve_scan_identity ,
939913 load_meta_fn = load_meta ,
@@ -974,29 +948,22 @@ def _apply_readme_section_config(
974948 )
975949
976950
977- _attach_external_vars_context = _variable_insights .attach_external_vars_context
978-
979-
980951_build_undocumented_default_filters = partial (
981952 _variable_insights .build_undocumented_default_filters ,
982953 extract_default_target_var = _extract_default_target_var ,
983954 looks_secret_name = _looks_secret_name ,
984955 resembles_password_like = _resembles_password_like ,
985956)
986957
987-
988- _build_display_variables = _variable_insights .build_display_variables
989-
990-
991958_collect_variable_insights_and_default_filter_findings = partial (
992959 _variable_insights .collect_variable_insights_and_default_filter_findings ,
993960 build_variable_insights = build_variable_insights ,
994- attach_external_vars_context = _attach_external_vars_context ,
961+ attach_external_vars_context = _variable_insights . attach_external_vars_context ,
995962 collect_yaml_parse_failures = _collect_yaml_parse_failures ,
996963 extract_role_notes_from_comments = _extract_role_notes_from_comments ,
997964 build_undocumented_default_filters = _build_undocumented_default_filters ,
998- extract_scanner_counters = _extract_scanner_counters ,
999- build_display_variables = _build_display_variables ,
965+ extract_scanner_counters = _analysis_extract_scanner_counters ,
966+ build_display_variables = _variable_insights . build_display_variables ,
1000967)
1001968
1002969
@@ -1043,7 +1010,7 @@ def _apply_readme_section_config(
10431010
10441011_apply_scan_metadata_configuration = partial (
10451012 _scan_runtime .apply_scan_metadata_configuration ,
1046- build_requirements_display = _build_requirements_display ,
1013+ build_requirements_display = _runbook_report_build_requirements_display ,
10471014 load_readme_section_config = load_readme_section_config ,
10481015 apply_readme_section_config = _apply_readme_section_config ,
10491016)
0 commit comments