{% extends "base.html" %} {% block content %}

Scan #{{ scan.id }}

{% if scan.error_message %}{% endif %}
Package{{ scan.package_name }}
Version{{ scan.package_version }}
Ecosystem{{ scan.ecosystem }}
Repository{{ scan.repository }}
Status{{ scan.status }}
SHA256{{ scan.sha256 or '-' }}
Started{{ scan.started_at.isoformat() if scan.started_at }}
Finished{{ scan.finished_at.isoformat() if scan.finished_at }}
Error{{ scan.error_message }}

Findings ({{ scan.findings|length }})

{% if scan.findings %} {% for f in scan.findings|sort(attribute='severity', reverse=true) %}
[{{ f.severity }}] {{ f.rule }} {% if f.location %} @ {{ f.location }}{% endif %}

{{ f.message }}

{% endfor %} {% else %}

No findings — package looks clean.

{% endif %} {% endblock %}