{% extends 'admin/master.html' %} {% block body %}

Debug Host

Enter the Hostname for which you want to see the rule analysis
{% if output is mapping%}

Rules

{% for rule_name in rules.keys() %} {% endfor %}

{% for rule_name, rule_raw in rules.items() %}
Rule: {{ rule_name.capitalize() }}
{% for rule in rule_raw %} {% endfor %}
Rule Name Hit Condition Type Last Match
{{rule['name']}} {{rule['hit']}} {{rule['condition_type']}} {{rule['last_match']}}
{% endfor %}

Attributes

{% for header in output.keys() %} {{header.capitalize()}} {% endfor %}

{% for header, content in output.items() %}
{{ header }}
{%if content is mapping %} {% for attr, attr_name in content.items() %} {% endfor %}
Attribute Name Attribute Content
{{attr}} {{attr_name}}
{% else %} {{ content }} {% endif %}
{% endfor %}
{% else %} {{output}} {% endif %}
{% endblock %}