{% extends "base.html" %} {% block title %}License Anomalien{% endblock %} {% block content %}

# Anomalie-Erkennung

Schweregrad
Status
Anomalie-Typ

##### Kritisch

## {% set critical_count = namespace(value=0) %} {% for stat in anomaly_stats if stat[1] == 'critical' %} {% set critical_count.value = critical_count.value + stat[2] %} {% endfor %} {{ critical_count.value }}

##### Hoch

## {% set high_count = namespace(value=0) %} {% for stat in anomaly_stats if stat[1] == 'high' %} {% set high_count.value = high_count.value + stat[2] %} {% endfor %} {{ high_count.value }}

##### Mittel

## {% set medium_count = namespace(value=0) %} {% for stat in anomaly_stats if stat[1] == 'medium' %} {% set medium_count.value = medium_count.value + stat[2] %} {% endfor %} {{ medium_count.value }}

##### Niedrig

## {% set low_count = namespace(value=0) %} {% for stat in anomaly_stats if stat[1] == 'low' %} {% set low_count.value = low_count.value + stat[2] %} {% endfor %} {{ low_count.value }}

##### Anomalien

Zeitpunkt | Lizenz | Typ | Schweregrad | Details | Status | Aktionen
--- | --- | --- | --- | --- | --- | ---
{% for anomaly in anomalies %}
{{ anomaly[3].strftime('%d.%m.%Y %H:%M') if anomaly[3] else '-' }} | {% if anomaly[8] %} {{ anomaly[8][:8] }}... {{ anomaly[9] }} {% else %} Unbekannt {% endif %} | {{ anomaly[5] }} | {{ anomaly[6] }} |  | {% if anomaly[2] %} Gelöst {% else %} Ungelöst {% endif %} | {% if not anomaly[2] %} {% else %} {{ anomaly[4].strftime('%d.%m %H:%M') if anomaly[4] else '' }} {% endif %}
{% else %}
Keine Anomalien gefunden
{% endfor %}

##### Anomalie Details

##### Anomalie lösen

Ergriffene Maßnahme
{% endblock %} {% block scripts %}
{% endblock %}