{% if domain %}{% endif %} Component Remediation Package — {{ summary.component_name | default('Unknown') }}
{% if logo_path %}
{% else %}
{% endif %}

Component Remediation Package

{{ summary.component_name | default('Unknown Component') }}{% if summary.version_range %} · {{ summary.version_range }}{% endif %}
Report: Component Remediation Package | Generated: {{ generated_at }} | Scope: {{ scope_label | default('All Projects') }} | Component: {{ summary.component_name | default('Unknown') }}
Total Actions
{{ summary.total_actions | default(0) }}
Critical
0 %}style="color: var(--p0);"{% endif %}>{{ summary.critical_actions | default(0) }}
High
0 %}style="color: var(--p1);"{% endif %}>{{ summary.high_actions | default(0) }}
Affected Projects
{{ summary.affected_project_count | default(0) }}
Zero-Day
0 %}style="color: #7c3aed;"{% endif %}>{{ summary.zero_day_actions | default(0) }}
{% if actions %}

Action Cards

{{ actions | length }}
{% for action in actions %} {% set sev = action.max_severity | default('MEDIUM') | lower %}
{{ action.component_name }} {{ action.component_version_name }} {{ action.max_severity | default('MEDIUM') }}
{{ action.finding_count | default(0) }} finding{{ 's' if action.finding_count | default(0) != 1 }} {{ action.open_count | default(0) }} open {{ action.affected_projects | default([]) | length }} project{{ 's' if action.affected_projects | default([]) | length != 1 }} Priority: {{ '%.1f' | format(action.priority_score | default(0)) }}
{% if action.is_zero_day %}
Zero-day — no CVE assigned
{% endif %} {% if action.cve_ids %}
{% for cve in action.cve_ids %} {{ cve }} {% endfor %}
{% endif %} {% if action.affected_projects %}
Affected projects:
{% for proj in action.affected_projects %} {{ proj }} {% endfor %}
{% endif %} {% if action.upgrade_recommendation %}
Upgrade recommendation: {{ action.upgrade_recommendation }}
{% endif %} {% if action.interim_mitigations %}
Interim mitigations:
    {% for m in action.interim_mitigations %}
  • {{ m }}
  • {% endfor %}
{% endif %} {% if action.ai_guidance %}
AI Remediation Guidance
{{ action.ai_guidance }}
{% endif %} {% if action.ai_prompt %}
AI Prompt {% if action.ai_prompt.system %}
System: {{ action.ai_prompt.system }}
{% endif %} {% if action.ai_prompt.user %}
User: {{ action.ai_prompt.user }}
{% endif %} {% if action.ai_prompt.context %}
Context: {{ action.ai_prompt.context }}
{% endif %}
{% endif %}
{% endfor %}
{% endif %} {% if ai_prompts %}

AI Prompts

{{ ai_prompts | length }}
{% for prompt in ai_prompts %}
{{ prompt.id | default('Prompt ' ~ loop.index) }} {% if prompt.system %}
System: {{ prompt.system }}
{% endif %} {% if prompt.user %}
User: {{ prompt.user }}
{% endif %} {% if prompt.context %}
Context: {{ prompt.context }}
{% endif %}
{% endfor %}
{% endif %} {% if suppressed %}

Suppressed Findings

{{ suppressed | length }}
{% for row in suppressed %} {% endfor %}
Component Version CVE Severity Status Project
{{ row.component_name }} {{ row.component_version_name }} {{ row.cve_id }} {{ row.severity }} {{ row.status }} {{ row.project_name }}
{% endif %}
{% include '_action_buttons.html' %}