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

Violation History

{% if scans %} {% for scan in scans %}
{{ scan.severity }} {{ scan.violation_type.replace('_', ' ').title() }}

{{ scan.message }}

{% if scan.details %}

{{ scan.details }}

{% endif %}

📄 {{ scan.file_path }}

{{ scan.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}
{% endfor %} {% else %}

No violations recorded yet.

{% endif %} {% endblock %}