{% if report_data.metadata.frameworks | length >= 2 %}
Cross-Framework Mapping
{% if report_data.cross_mappings.overlap_matrix %}
Framework A
Framework B
Shared Controls
Overlap %
{% for row in report_data.cross_mappings.overlap_matrix %}
{{ row.fw_a }}
{{ row.fw_b }}
{{ row.shared_count }}
{{ row.overlap_pct }}%
{% endfor %}
{% endif %}
{% if report_data.cross_mappings.total_shared > 0 %}
{{ report_data.cross_mappings.total_shared }} shared control mappings across frameworks.
{% endif %}
{% endif %}
Findings
{% if report_data.findings %}
{% set verified_findings = [] %}
{% set inferred_findings = [] %}
{% for f in report_data.findings %}
{% if f.confidence == "inferred" %}
{% if inferred_findings.append(f) %}{% endif %}
{% else %}
{% if verified_findings.append(f) %}{% endif %}
{% endif %}
{% endfor %}
{% for f in verified_findings %}
{% for cm in f.cross_mappings[:3] %}
{{ cm.framework }} {{ cm.control_id }}
{% endfor %}
{% if f.cross_mappings | length > 3 %}
+{{ f.cross_mappings | length - 3 }} more
{% endif %}
{% endif %}
{% if f.checkov_id %}
{{ f.checkov_id }}
{% endif %}
{% if f.native_ids %}
{% for key, val in f.native_ids.items() %}
{{ key }}: {{ val }}
{% endfor %}
{% endif %}
{% endfor %}
{% if inferred_findings %}
Low-Confidence Mappings
These mappings were derived from a single crosswalk source. Verify against the framework's published control guidance before relying on them for audit evidence.