{% extends "base.html" %} {% from "_ui.html" import icon, lic, eng, when, token, copy_btn %} {% block title %}Profiles & exclusions{% endblock %} {% block content %}

Profiles & exclusions

A profile is a named ruleset: which rules (a search), which Suricata they must load in, and what you leave out, each exclusion with its reason. Every download rebuilds them.

{% if cards %}
{% for c in cards %}{% set t, b = c.t, c.b %}{% set o = t.options or {} %}

{{ t.name }} {% if t.description %}{{ t.description }}{% endif %}

{% if t.engine %}{{ eng(t.engine, [t.engine], []) }}{% else %}any engine{% endif %}{% if o.get('redistributable_only') %}{{ lic('shareable', 'permissive') }}{% endif %}
Rules
{% if t.query %}{{ t.query }}{% else %}every rule in the index{% endif %}{% if t.unit == 'family' %} (one per family){% endif %}
Options
{{ 'fix sid clashes' if o.get('remap_sids', true) else 'sid clashes stop the build' }}{% if o.get('redistributable_only') %} · only rules you may share{% endif %}{% if o.get('include_disabled') %} · includes rules disabled upstream{% endif %}{% if o.get('iocs_as_datasets') %} · IOC rules as datasets{% endif %}
Last build
{% if b %}#{{ b.id }}, {{ b.rules|num }} rules, {{ when(b.created_at) }}{% if b.summary.previous_build %} +{{ b.summary.added|num }} −{{ b.summary.removed|num }}{% endif %}{% else %}No build yet{% endif %}
Exclusions
{{ c.n_excl }} exclusion{{ 's' if c.n_excl != 1 }}{% if b %} keep {{ b.excluded|num }} rules out{% endif %}
{{ c.efile }}
{% set ov = (o.get('enable') or [])|length + (o.get('modify') or [])|length + (o.get('thresholds') or [])|length %}{% if ov %}
Overrides
{{ (o.get('enable') or [])|length }} enable, {{ (o.get('modify') or [])|length }} modify, {{ (o.get('thresholds') or [])|length }} thresholds{% if b and b.summary.modified %} · {{ b.summary.modified|num }} rules modified{% endif %}{% if b and b.summary.threshold_lines %} · {{ b.summary.threshold_lines|num }} threshold lines{% endif %}
{% endif %}
{% if b %}{{ icon('export') }}suricata.rules{% endif %} {% if b and c.new %}Review {{ c.new|num }} new{% elif b %}Review new{% endif %} {{ icon('filter') }}Exclusions
{{ token() }}
Export…
{% endfor %}
{% else %}

No profile yet

Create one from the command line; it shows up here with its builds and exclusions.

{% endif %}

New profile: suriharvest profile create NAME --query 'source:et-open'{% if hint_engine %} --engine {{ hint_engine }}{% endif %} {{ copy_btn('#c-new', 'Copy', 'btn btn-quiet btn-sm') }}

{% endblock %}