{% extends "base.html" %} {% from "_ui.html" import icon, lic, card, when, crumbs %} {% block title %}{{ source.name }} - Sources{% endblock %} {% block section %}sources{% endblock %} {% block content %} {{ crumbs([('Sources', '/sources'), (source.name, '')]) }}

{{ source.name }}

{{ lic(licinfo) }}{% if health %}{{ health.label }}{% endif %} {% if link %}{{ link.removeprefix('https://') }} {{ icon('external') }}{% endif %} {% if not pending and source.last_commit %}commit {{ source.last_commit[:7] }} · synced {{ when(source.last_sync_at) }}{% endif %}
{{ icon('search') }}Search this source Only rules found nowhere else
{% if health and health.state == 'failing' %}
{{ icon('about') }}

Skipped in the last update: {{ health.error or 'the sync did not finish' }}. The rules from its last good sync are kept; the next sigharvest update tries again.

{% endif %} {% if pending %}
{{ icon('about') }}

This source was added and is waiting for the next update. Run sigharvest update to fetch its rules.

{% endif %} {% if summary %}
{{ summary.logic|num }}Rules{{ summary.documents|num }} rule files {{ summary.only|num }}Unique herefound in no other source
{{ (summary.valid_pct ~ '%') if summary.valid_pct is not none else '-' }}Validof its unique rules pass pySigma validation
{% endif %}

Found only here {{ total|num }} rule{{ 's' if total != 1 }}

{% if rows %}
    {% for r in rows %}{{ card(r, [], false) }}{% endfor %}
{% if pages > 1 %}{% endif %} {% else %}

Every rule of this source is also somewhere else.

{% endif %}
{% endblock %}