{% import 'macros.html' as m with context %} {% if first_run %}
First recorded run for {{ ctx.data.subject }}. Nothing is reported as new.
{% else %}

Compared against the run of {{ previous.completed_at|date('%d %b %Y') }}. Dimensions the previous run did not produce are omitted.

{% for row in rows %} {% endfor %}
DimensionAddedRemoved
{{ row.label }}{{ row.added|num }}{{ row.gone|num }}
{% for row in rows %} {% if row.added_sample or row.gone_sample %}
{{ row.label }}
{% if row.added_sample %}

Added

{% for item in row.added_sample %}{{ item|clip(48) }}{% endfor %}{% if row.added > row.added_sample|length %}+{{ (row.added - row.added_sample|length)|num }} more{% endif %}
{% endif %} {% if row.gone_sample %}

Removed

{% for item in row.gone_sample %}{{ item|clip(48) }}{% endfor %}{% if row.gone > row.gone_sample|length %}+{{ (row.gone - row.gone_sample|length)|num }} more{% endif %}
{% endif %}
{% endif %} {% endfor %} {% if new_findings %}
New findings
{% for finding in new_findings %} {% endfor %}
SeverityWeaknessLocation
{{ m.sev(finding.severity) }}{{ finding.name }}{{ finding.matched_at|clip(70) }}
{% endif %} {% endif %}