{% extends 'admin/master.html' %} {% block body %} {# The host tab bar links the host pages; an object has its own list and edit form, so its debug page shows a plain heading instead. #} {% if host and object_label != 'Object' %} {% with active='debug' %} {% include 'admin/_host_tabs.html' with context %} {% endwith %} {% endif %}
{{ hostname }}.
{% if rule_preview.match.no_match_reason %}
{% set nm = rule_preview.match.no_match_reason %}
{{ nm.hostname }}
({{ nm.hostname_match }}{% if nm.hostname_match_negate %}, negated{% endif %})
{% else %}
tag {{ nm.tag }} = {{ nm.value }}
({{ nm.tag_match }} / {{ nm.value_match }})
{% endif %}
| {{ label }} | {{ value }} |
|---|
{{ outcomes }}
{% else %}
{{ folder_options.error }}
{{ folder_options.source }}
| Rule | Hit | Matching conditions / first reason it won't match | Outcome of this rule | Condition Type | Last Match |
|---|---|---|---|---|---|
| {% if rule['rule_url'] %} {{ rule['name'] }} {% else %} {{ rule['name'] }} {% endif %} | {% if rule['hit'] %} {% else %} {% endif %} |
{% if rule['static'] %}
static
host-independent — emitted for every host, match conditions ignored
{% elif rule['hit'] %}
{% if rule['match_reasons'] %}
{% for cond in rule['match_reasons'] %}
{{ render_condition(cond) }}
{% endfor %}
{% else %}
always matches
{% endif %}
{% elif rule['no_match_reason'] %}
{{ render_condition(rule['no_match_reason']) }}
{% endif %}
|
{% if rule['outcome'] %} {{ render_outcome(rule['outcome']) }} {% elif rule['hit'] %} no change to the total outcome: the same value was already set by an earlier rule, or the outcome rendered empty {% else %} — {% endif %} | {{ rule['condition_type'] }} | {{ rule['last_match'] }} |