{% extends "layout.html" %} {% block content %}
{% if archived %} View new alerts {% else %} View archived alerts {% endif %}
{% if alerts %} {% for alert in alerts %} {% if archived %}
{% else %}
{% endif %}
Date {{ alert.datetime }}
User {% if alert.user_contact %}{{ alert.user_contact }}{% endif %} {% if alert.user_contact and alert.user %}
{% endif %} {% if alert.user %}{{ alert.user }}{% endif %}
Alert Type {% if alert.type == "email_sender" or alert.type == "email_sender_domain" %}The user received an email from a malicious sender {% elif alert.type == "email_link" %}The user received an email containing a malicious link {% elif alert.type == "website_visit" %}The user tried to visit a malicious website {% elif alert.type == "analysis" %}The user scanned a page that appeared suspicious {% else %}{{ alert.type }} {% endif %}
Match {{ alert.match }}
Indicator {% if alert.indicator %} {{ alert.indicator }} {% else %} Add match to indicators {% endif %}
{% if not archived %}
{% endif %}
{% endfor %} {% else %}

No new alerts have been recorded yet.

{% endif %} {% endblock %}