{% extends "base.html" %} {% from "_ui.html" import icon, lvl, st as status_badge, lic, val, tech, copy_btn, crumbs, logsource, strip, cmd %} {% block title %}{{ g.title or '(untitled)' }}{% endblock %} {% block section %}search{% endblock %} {% block content %} {% set here = '/rule/' ~ g.logic_hash[:16] %} {% set ls = [g.product, g.category, g.service]|select|list %} {% macro src_row(c) -%}
{% for kind, part in summary.parts %}{% if kind == 'b' %}{{ part }}{% elif kind == 'code' %}{{ part }}{% elif kind == 'field' %}{{ part }}{% else %}{{ part }}{% endif %}{% endfor %}
{{ summary.parts[0][1] }}
{% else %}This rule has no description and its detection is too complex to summarise. Read the Sigma rule below.
{% endif %}You need: {{ needs }}.{% if needs_known %} Without it the events are never written and this rule cannot fire.{% endif %}
{{ v.raw|yaml_html }}
{% for b in t.blocks %}{% if b.label %}# {{ b.label }}
{% endif %}{{ b.text }}{% if not loop.last %}
{% endif %}{% endfor %}
{% elif t.error %}{{ t.target }} cannot convert this rule: {{ t.error }}
{% elif t.stored %}{{ t.status_label|capitalize }}{% if t.reason %}: {{ t.reason }}{% endif %}
{% else %}Converting…
{% endif %}
{% if t.notes and t.blocks %}{% endif %}
Query conversion needs the optional pySigma backends, which are not installed here. Install them to see Splunk, Elastic, KQL, OpenSearch and Loki queries for every rule:
{{ cmd('c-convert', install_command()) }}Then open a query tab: each rule is converted when you look at it.
| Content | Rule date | First seen | |
|---|---|---|---|
| {{ h.content_hash[:10] }} | {{ rule_date(h) or '-' }} | {{ h.first_seen.strftime('%Y-%m-%d') }} | {% if h.logic_hash == g.logic_hash %}this rule{% else %}other logic{% endif %} |