{% macro kpi_strip(kpis, scope) %}
Hosts evaluated
{{ kpis.n_total }}
{{ scope.database }} · {{ scope.table_used }}
Hosts with triggers
{{ kpis.n_with_triggers }}
{{ kpis.n_clean }} produced no triggered rule
Bands
{% for band, count in kpis.bands.items() if count > 0 %} {{ band | humanize_band }} · {{ count }} {% endfor %} {% if not kpis.bands.values() | select | list %} None {% endif %}
No band escalations
Movement vs baseline
{{ kpis.n_moved }} / {{ kpis.n_total }}
hosts with score delta ≠ 0
{% endmacro %}