{% extends "base.html" %} {% block title %}Scan #{{ scan.id }} — GuardDog Nexus{% endblock %} {% block breadcrumbs %} {% endblock %} {% 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 {% if scan.status == 'scanning' %}scanning{% else %}{{ scan.status }}{% endif %}
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|length > 1 %} {% endif %}
{% if scan.findings %}
{% for f in scan.findings %}
[{{ f.data.severity }}] {{ f.data.rule }} {% if f.data.location %} @ {{ f.data.location }}{% endif %} click to expand

{{ f.data.message }}

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

No findings — package looks clean.

{% endif %} {% endblock %}