{% extends 'admin/master.html' %} {% block body %}
| Name | Conditions | Outcomes | Status | |
|---|---|---|---|---|
|
{{ rule.name or '(unnamed)' }}
{% if rule.documentation %}
{{ rule.documentation[:120] }}{% if rule.documentation|length > 120 %}…{% endif %}
{% endif %}
|
{{ row.conditions.typ }}
{% if row.conditions.chips %}
{% for cond in row.conditions.chips %}
{{ cond.key }}
{{ cond.match }}
{% if cond.value %}{{ cond.value }}{% endif %}
{% endfor %}
{% else %}
matches every host
{% endif %}
|
{% if row.outcomes %}
{% for outcome in row.outcomes %}
{{ outcome }}
{% endfor %}
{% if row.outcomes_overflow %}
+{{ row.outcomes_overflow }} more
{% endif %}
{% else %}
—
{% endif %}
|
order {{ rule.sort_field }}
|