{% extends "base.html" %} {% block title %}Alerts - SneakyScanner{% endblock %} {% block content %}

Alert History

Manage Alert Rules
Total Alerts

{{ pagination.total }}

Critical

{{ alerts | selectattr('severity', 'equalto', 'critical') | list | length }}

Warnings

{{ alerts | selectattr('severity', 'equalto', 'warning') | list | length }}

Unacknowledged

{{ alerts | rejectattr('acknowledged') | list | length }}

Alerts
{% if alerts %}
{% for alert in alerts %} {% endfor %}
Severity Type Message Target Scan Created Status Actions
{% if alert.severity == 'critical' %} Critical {% elif alert.severity == 'warning' %} Warning {% else %} Info {% endif %} {{ alert.alert_type.replace('_', ' ').title() }} {{ alert.message }} {% if alert.ip_address %} {{ alert.ip_address }}{% if alert.port %}:{{ alert.port }}{% endif %} {% else %} - {% endif %} Scan #{{ alert.scan_id }} {{ alert.created_at.strftime('%Y-%m-%d %H:%M') }} {% if alert.acknowledged %} Ack'd {% else %} New {% endif %} {% if alert.email_sent %} {% endif %} {% if alert.webhook_sent %} {% endif %} {% if not alert.acknowledged %} {% else %} By: {{ alert.acknowledged_by }} {% endif %}
{% if pagination.pages > 1 %} {% endif %} {% else %}
No alerts found

Alerts will appear here when scan results trigger alert rules.

Configure Alert Rules
{% endif %}
{% endblock %}