{% extends "base.html" %} {% from "_ui.html" import icon, lvl, st as status_badge, lic, lic_class, tech, card, logsource %} {% block title %}{{ q ~ ' - ' if q }}Search{% endblock %} {% block section %}search{% endblock %} {% block content %} {% macro hidden(exclude=[]) %}{% for k, v in base.items() %}{% if v and k not in exclude and k != 'page' %}{% endif %}{% endfor %}{% endmacro %} {% set MULTI = ('level', 'status', 'validation') %} {% macro chosen(name) %}{{ (params[name]|lower).split(',')|map('trim')|reject('equalto', '')|join(',') }}{% endmacro %} {% macro facet_link(name, value, label_html, count, active) -%} {%- if name in MULTI -%} {#- Multi-select: each link adds or removes its value from the comma list (level=high,critical is high OR critical). -#} {%- set current = chosen(name).split(',')|reject('equalto', '')|list -%} {%- set target = (current|reject('equalto', value|lower)|list) if active else current + [value|lower] -%} {%- set target = target|join(',') -%} {%- else -%}{%- set target = '' if active else value -%}{%- endif -%}
{{ error }}
{{ hint }}
{{ total|num }} rule{{ 's' if total != 1 }}{% if families %} in {{ families|num }} famil{{ 'ies' if families != 1 else 'y' }}{% endif %} match{{ 'es' if total == 1 }}{% if documents %} · {{ documents|num }} files, {{ (documents - total)|num }} {{ 'was a copy' if documents - total == 1 else 'were copies' }}{% endif %}{% if not params.deprecated or not params.junk %} · {% if not params.deprecated %}deprecated{% endif %}{% if not params.deprecated and not params.junk %} and {% endif %}{% if not params.junk %}junk{% endif %} rules hidden: show them{% endif %}
| Rule | Log source | Level | ATT&CK | Sources | Licence | |
|---|---|---|---|---|---|---|
| {{ r.title|mark(terms) if r.title else '(untitled)' }}{{ r.author or 'unknown author' }}{% if r.modified %} · {{ r.modified }}{% endif %} | {{ logsource(r) }} | {{ lvl(r.level) }} | {{ r.n_sources }} | {{ lic(r.licence) }} |
{{ text_only|num }} rule{{ 's' if text_only != 1 }} match the text alone. Remove a filter:
{% elif chips %}Remove a filter or try other words.
{% else %}Try other words, or one of the examples above.
{% endif %} {% if chips and text_only %}