{% extends "base.html" %} {% from "_ui.html" import icon, lic, when, token, copy_btn %} {% block title %}Sources{% endblock %} {% block content %}
Where your rules come from. Lower priority wins when the same rule is in several sources; a skipped download keeps the rules of the last good one.
{{ n_ok|num }} up to date{% if n_fail %} · {{ n_fail|num }} skipped in the last update{% endif %}{% if pending %} · {{ pending|length }} not downloaded yet{% endif %}{% if n_disabled %} · {{ n_disabled|num }} disabled (turn one on in sources.yaml){% endif %}{% if health %} · showing {{ 'skipped' if health == 'failing' else 'up to date' }} sources only, show all{% endif %}
Add your own source: suriharvest sources add NAME URL --licence MIT --redistribute yes {{ copy_btn('#c-add', 'Copy', 'btn btn-quiet btn-sm') }} · or edit sources.yaml; the next download applies it.
| Source | Prio | Licence | May share | Rules | Unique | Suricata / both / Snort | Last download | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ src.name }}{% if not src.enabled %} disabled{% endif %}{% if not c %} removed from sources.yaml{% endif %}
{{ src.type }}{% if c and c.tier %} · {{ c.tier }}{% endif %}{% if src.sid_namespace != src.name %} · sids {{ src.sid_namespace }}{% endif %} |
{{ src.priority }} | {{ lic(li[0], li[1]) }} | {% if src.redistribute == 'yes' %}yes{% elif src.redistribute == 'no' %}own use only{% else %}unknown{% endif %} | {{ n|num }} | {{ canon.get(src.name, 0)|num }} | {{ d.get('suricata', 0)|num }} / {{ d.get('both', 0)|num }} / {{ d.get('snort', 0)|num }} | {% if l %}{% if l[0] == 'ok' %}ok{% elif l[0] == 'running' %}running{% else %}skipped{% endif %} {{ when(l[2]) }}{% if l[0] not in ('ok', 'running') and l[1] %} {{ friendly_error(l[1])[:120] }} {% endif %}{% else %}never{% endif %} |
{% if src.name in missing %}token missing: set {{ missing[src.name] }}{% elif src.enabled %}{% endif %} |
| {{ c.name }} not downloaded yet {{ c.type }}{% if c.tier %} · {{ c.tier }}{% endif %} | {{ c.priority }} | {% set li = (c.licence|lic_short, 'none') %}{{ lic(li[0], li[1]) }} | {{ c.redistribute }} | - | - | never | {% if c.enabled %}{% endif %} |
Unique = rules counted once, under the highest-priority source that carries them. Snort-only rules never load in Suricata and are left out of exports.
{% endblock %}