{% macro rule_href(lid, page) -%} {%- if page %}{{ base }}{{ page }}{% else %}{{ base }}rule.html?l={{ lid }}{% endif -%} {%- endmacro %} {% macro badges(r) -%}
{{ r.yaml }}
The rule text is too large to show here.
{% elif r.licence_class == 'none' %}Text not redistributed: this rule has no stated licence, so only its metadata is published here.
{% else %}Text not redistributed: the licence of this rule ({{ r.licence }}) does not allow it to be republished here.
{% endif %} {% if r.canonical.url %}{% endif %}Licence: {% if r.licence_links %}{% for l in r.licence_links %}{% if not loop.first %} / {% endif %}{% if l.url %}{{ l.id }}{% else %}{{ l.id }}{% endif %}{% endfor %}{% else %}{{ r.licence or 'not stated' }}{% endif %}{% if r.licence_from %} ({{ r.licence_from }}){% endif %}{% if r.licence_class %} - class {{ r.licence_class }}{% endif %}
{% if r.drl_origin %}This rule is a copy of a SigmaHQ rule under the Detection Rule License 1.1: keep its author when you share it.
{% endif %}Author: {{ r.author or 'not stated' }}. Copyright stays with the rule's authors.
Canonical copy: {{ r.canonical.source or '?' }}{% if r.canonical.path %} / {{ r.canonical.path }}{% endif %}{% if r.canonical.commit %} @ {{ r.canonical.commit[:12] }}{% endif %}
{% if r.canonical.url %} - open at source{% endif %}