{% extends "base.html" %} {% block title %}HARIS — Scan {{ scan.scan_id }}{% endblock %} {% block content %}

Scan: {{ scan.target_url }}

{{ scan.profile }} · {{ scan.scan_id }} · {{ scan.started_at[:19] }}

{% if scan.status in ['pending', 'running'] %}{% endif %} {{ scan.status }}
{% if scan.status in ['cancelled', 'incomplete'] %}
Scan {{ scan.status }}

Results below are partial.{% if scan.error %} {{ scan.error }}{% endif %}

{% endif %} {% if scan.status in ['pending', 'running'] %}

Scan {{ 'queued' if scan.status == 'pending' else 'in progress' }}... this page will refresh when it ends.

{% elif scan.status == 'failed' %}
Scan Failed

{{ scan.error or 'Unknown error' }}

{% elif session %}
Risk Posture
{{ session.risk_posture.value | upper }}

{{ session.risk_posture_text }}

{{ session.all_findings | length }}
Findings
{{ session.findings_by_severity[session.findings_by_severity.keys()|list|first] | length if session.findings_by_severity else 0 }}
Critical + High
{{ session.multi_confirmed_count }}
Multi-confirmed
{{ "%.0f" | format(session.duration_seconds) }}s
Duration
{% set total = session.all_findings | length %} {% if total > 0 %}
{% for sev, findings in session.findings_by_severity.items() %} {% if findings | length > 0 %} {% endif %} {% endfor %}
{% for sev, findings in session.findings_by_severity.items() %} {% if findings | length > 0 %} {{ sev.value }} {{ findings | length }} {% endif %} {% endfor %}
{% endif %}
{% for fmt in scan.report_formats %} Download {{ fmt | upper }} {% endfor %}
{% if session.llm_enrichments or session.attack_chains or session.triaged_findings %} {% endif %}
{% if session.all_findings %} {% for finding in session.all_findings %}
{{ finding.severity.value }} {{ finding.title }}
{{ finding.owasp_category or 'Unmapped' }} {% if finding.cwe_id %}{{ finding.cwe_id }}{% endif %} Scanner: {{ finding.scanner }} {% if finding.url %}{{ finding.url }}{% endif %}

{{ finding.description }}

{% if finding.finding_id in business_impacts %} {% set impact = business_impacts[finding.finding_id] %}
Business Impact: {{ impact.headline }}
Worst case: {{ impact.worst_case }}
{% endif %} {% if finding.evidence %}
Show evidence
{{ finding.evidence }}
{% endif %} {% if finding.request_example %}
Reproduction
{{ finding.request_example }}
{% endif %} {% if finding.remediation %}

Fix: {{ finding.remediation }}

{% endif %}
{% if session.llm_enrichments and finding.finding_id in session.llm_enrichments %} {% set enr = session.llm_enrichments[finding.finding_id] %}
AI Analysis
{% if enr.attack_narrative %}

Attack Narrative: {{ enr.attack_narrative }}

{% endif %} {% if enr.business_impact_assessment %}

Business Impact: {{ enr.business_impact_assessment }}

{% endif %}
{% if enr.exploitation_complexity %} Complexity: {{ enr.exploitation_complexity }} {% endif %} {% if enr.false_positive_likelihood %} FP likelihood: {{ enr.false_positive_likelihood }} {% endif %} {% if enr.attack_chain_position %} Chain: {{ enr.attack_chain_position | replace('_', ' ') }} {% endif %}
{% if enr.related_cwes %}

Related CWEs: {{ enr.related_cwes | join(', ') }}

{% endif %} {% if enr.variant_suggestions %}
Variant Suggestions:
    {% for vs in enr.variant_suggestions %}
  • {{ vs }}
  • {% endfor %}
{% endif %}
{% endif %}
{% endfor %} {% else %}

No findings — the target looks clean for the checks that were run.

{% endif %}
{% if session.remediation_steps %}

Ordered by impact-to-effort ratio. Quick wins first.

{% else %}

No remediation steps needed.

{% endif %}
Chat with your scan report
Ask a question about this scan. You can follow up on any answer.
{% include "partials/scan_ai_insights.html" %}
{% for result in session.scanner_results %} {% endfor %}
ScannerFindingsErrorsDuration
{{ result.scanner_name }} {{ result.findings | length }} {% if result.errors %}{{ result.errors | length }}{% else %}0{% endif %} {% if result.metadata.get('elapsed_seconds') is not none %}{{ result.metadata.get('elapsed_seconds') }}s{% else %}—{% endif %}
{% if session.errors %}
Errors: {% for err in session.errors %}

{{ err }}

{% endfor %}
{% endif %}
{% else %}

Scan is pending.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}