{% load static %} {% load l10n %} {% load i18n %} {% load desc_types %} {% if row.head_group_ip %} {% else %} {% endif %} {% if row.ip and not row.head_group_ip%} {% if row.bt == 7 or row.bt == 9 or row.bt == 10 %} {% if row.possible == 1 %} Possible {% endif %} {% endif %} {% if row.reason == 'Nemesida AI MLA' %} Nemesida AI MLA {% elif row.reason == 'Nemesida AI MLC' %} Nemesida AI MLC {% elif 'Brute' in row.reason %} {% if row.possible == 1 %} brute-force {% else %} Brute-force {% endif %} {% elif row.bt == 14 %} API Firewall {% elif 'Blocked IP' in row.reason %} Blocked IP {% elif 'Flood' in row.reason %} {% if row.possible == 1 %} flood {% else %} Flood {% endif %} {% elif row.bt == 15 %} Violation {% else %} {% if 'Virus' in row.description %} Virus {% else %} {% if row.bt == 5 %} Internal error {% elif row.bt == 10 %} DDoS {% else %} {{ row.description }} {% endif %} {% endif %} {% endif %} {% else %} {% for keys,value in row.tags.items %} {{ keys }}{{ value }} {% endfor %} {% endif %} {% if row.bt == 1 or row.bt == 2 %} {% if row.group_blocked %}  M {% elif row.lm %}  M {% endif %} {% else %} {% if row.lm %}  M {% endif %} {% endif %} {% if row.ips.0.location.crawler|lower != 'false' and row.ips.0.location.crawler|lower != 'none' %} C {% endif %} {% if row.bt == 3 or row.bt == 8 %}   {% if row.vhost|length > 20 %} {% if row.port %}{{ row.vhost|slice:":30" }}:{{ row.port }}{% else %}{{ row.vhost|slice:":30" }}{% endif %} {% else %} {% if row.port %}{{ row.vhost }}:{{ row.port }}{% else %}{{ row.vhost }}{% endif %} {% endif %} {% else %} {% if row.vhost|length > 20 %} {% if row.port %}{{ row.vhost|slice:":30" }}:{{ row.port }}{% else %}{{ row.vhost|slice:":30" }}{% endif %} {% else %} {% if row.port %}{{ row.vhost }}:{{ row.port }}{% else %}{{ row.vhost }}{% endif %} {% endif %} {% endif %}
{% with row.ips as ips %} {% include 'main/_logs_ips_results_cell.html' %} {% endwith %}
{% if row.timestamp_max > row.timestamp_min %}   {% else %}   {% endif %} {% spaceless %} {% with date_time=row.timestamp_min date_time_max=row.timestamp_max %} {% include 'main/_logs_date_interval.html' %} {% endwith %} {% endspaceless %}
{% if row.head_group_ip %}{% endif %} {% if user.is_admin %} {% if row.head_group_ip %} {% elif row.request_id %} {% endif %} {% endif %}