{% extends "pages/main.html" %} {% load staticfiles %} {% block title %} Violations {% endblock %} {% block container %}

Monitor violations : {{ monitor.name }}

Back
{% for v in monitor.violations %} {% endfor %}
id Step Time Comment Verdict Remediation Monitor Action
{% if v.vid|length > 10 %} {{ v.vid|slice:":10" }}... {% else %} {{ v.vid }} {% endif %} {{ v.step }} {{ v.timestamp }} {{ v.comment }} {% if v.verdict|stringformat:"s" == "ViolationStatus.LEGITIMATE" %} LEGITIMATE {% elif v.verdict|stringformat:"s" == "ViolationStatus.ILLEGITIMATE" %} ILLEGITIMATE {% elif v.verdict|stringformat:"s" == "ViolationStatus.UNREAD" %} UNREAD {% else %} {{ v.verdict }} {% endif %} {% if v.remediation_mon != None %} {% if v.remediation_mon.mon.last|stringformat:"s" == "?" %} {% elif v.remediation_mon.mon.last|stringformat:"s" == "⊥" %} {% else %} {% endif %} {{ v.remediation_mon.mon.last }} {% endif %} Audit
{% endblock %}