{% 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='data.severity', reverse=true) %}
[{{ f.data.severity }}] {{ f.data.rule }} {% if f.data.location %} @ {{ f.data.location }}{% endif %}

{{ f.data.message }}

{% if f.data.code %}
{{ f.data.code }}
{% endif %}
{% endfor %} {% else %}

No findings — package looks clean.

{% endif %} {% endblock %}