{% extends 'admin/master.html' %} {% block body %}
{% for rule_name in rules.keys() %} {{rule_name.capitalize()}} {% endfor %}
{% for rule_name, rule_raw in rules.items() %}| Rule Name | Hit | First reason the rule wont match | Condition Type | Last Match | |
|---|---|---|---|---|---|
| {{rule['name']}} | {{rule['hit']}} | {% if rule['no_match_reason'] %}
{% set no_match = rule['no_match_reason'] %}
{% if no_match['match_type'] == 'host' %}
Hostname{{negate[no_match['hostname_match_negate']]}} {{condition_types[no_match['hostname_match']]}} {{no_match['hostname']}} Key{{ negate[no_match['tag_match_negate']] }} {{condition_types[no_match['tag_match']]}} {{ no_match['tag']}} Value{{negate[no_match['value_match_negate']]}} {{condition_types[no_match['value_match']]}} {{no_match['value']}} |
{% else %}
{%endif%} | {{rule['condition_type']}} | {{rule['last_match']}} |
{% for header in output.keys() %} {{header.capitalize()}} {% endfor %}
{% for header, content in output.items() %}| Attribute Name | Attribute Content |
|---|---|
| {{attr}} | {{attr_name}} |