{% extends "base.html" %} {% from "_ui.html" import icon, sev, lic, lic_class, engs, eng, token %} {% block title %}{{ q ~ ' - ' if q }}Search{% endblock %} {% block content %} {% macro facet_link(tok, label_html, n) -%} {%- set on = tok in tokens -%}
The search could not be read: {{ error }}. See the search syntax.
{{ total|num }} rule{{ 's' if total != 1 }} match{{ 'es' if total == 1 }} · {{ lines|num }} rule line{{ 's' if lines != 1 }}{% if lines > total %}, {{ (lines - total)|num }} {{ 'was a copy' if lines - total == 1 else 'were copies' }}{% endif %}
| Select | sid | Rule | App | Severity | Check | Source | Licence |
|---|---|---|---|---|---|---|---|
| {{ g.sid }} | {{ g.msg|mark(words) if g.msg else '(no msg)' }} | {{ g.app_layer }} | {{ sev(g.severity) }} | {{ engs(engines, g.loads_in, g.fails_in) }} | {{ g.canonical_source }}{% if g.n_sources > 1 %} +{{ g.n_sources - 1 }}{% endif %} | {{ lic(l[0], l[1]) }} |
{{ summaries[g.logic_hash] }}
{% endif %}{{ h }}
{% endfor %} {% if alone and alone[1] %}{{ alone[0] }} alone matches {{ alone[1]|num }} rules. Remove a filter to see them:
Try fewer words, or one filter at a time. Words search the rule name, contents, metadata and references.
{% endif %} {% else %}Type words, or start from an example above.
{% endif %}