{% extends "base.html" %} {% import "macros.html" as m with context %} {% block title %}{{ r.title or 'Untitled rule' }}{% endblock %} {% block description %}{{ (r.description or ('Sigma rule ' ~ (r.title or '')))|shorten(160) }}{% endblock %} {% block ogtype %}article{% endblock %} {% block main %}

rules{% for c in r.collections %} / {{ c[0] }}{% endfor %}

{{ r.title or 'Untitled rule' }}

{{ m.badges(r) }} {% if r.description %}

{{ r.description }}

{% endif %}

Rule

{{ m.yaml_block(r) }}

Licence and source

{{ m.licence_block(r) }} {% if r.sources|length > 1 %}

Also carried by: {{ r.sources[:12]|join(', ') }}{% if r.sources|length > 12 %} and {{ r.sources|length - 12 }} more{% endif %}.

{% endif %}
{% endblock %} {% block scripts %}{% endblock %}