Component Impact Report
{{ summary.get('component_name', 'Unknown Component') }} — Blast Radius Analysis
{{ summary.version_range }} — only projects with matching component versions are shown.
{{ locations | length }} project(s) contain {{ summary.get('component_name', 'this component') }}. Projects with known CVE findings are listed first.
| Project | Detected Version(s) | CVE Findings | Critical | High | Top CVE |
|---|---|---|---|---|---|
| {{ loc.get('project_name', '') }} | {% if loc.get('detected_versions') %} {{ loc.detected_versions | join(', ') }} {% else %} — {% endif %} | {% if (loc.get('cve_count', 0) | int) > 0 %} {{ loc.cve_count }} {% else %} — {% endif %} | {% if (loc.get('critical_count', 0) | int) > 0 %} {{ loc.critical_count }} {% else %} — {% endif %} | {% if (loc.get('high_count', 0) | int) > 0 %} {{ loc.high_count }} {% else %} — {% endif %} |
{% if loc.get('top_cves') and (loc.top_cves | length) > 0 %}
{% set tc = loc.top_cves[0] %}
{% set sev = (tc.get('severity', '') | upper) %}
{{ tc.get('cve_id', '') }}
{% if sev == 'CRITICAL' %}{{ sev }}
{% elif sev == 'HIGH' %}{{ sev }}
{% elif sev == 'MEDIUM' %}{{ sev }}
{% elif sev == 'LOW' %}{{ sev }}
{% else %}{{ sev or 'UNKNOWN' }}{% endif %}
{% if (loc.top_cves | length) > 1 %}
+{{ loc.top_cves | length - 1 }} more
{% endif %}
{% else %}
No CVE findings
{% endif %}
|