{% extends "siem/base.html" %} {% block sub-title %}Add Limit Rule | {% endblock %} {% block content-main %}

Add Limit Rule

{% if form.errors %}

There were some errors.

{% endif %}
{% csrf_token %}

Rule Settings

AttributeSettingDescription
Name{{ form.name }}The rule name.
Desc{{ form.desc }}The rule description.
Enabled?{{ form.is_enabled }}Whether the rule is enabled.
Reversed?{{ form.reverse_logic }}Whether the rule logic is reversed.
Rule Events?{{ form.rule_events }}Whether the rule wathes rule events (vs. log events).
Category{{ form.rule_category }}The rule category.
Event Lifespan (local){{ form.local_lifespan_days }}The lifespan of resulting events in the local database.
Event Lifespan (backup){{ form.backup_lifespan_days }}The lifespan of backup copies of resulting events.
Alerts Enabled?{{ form.email_alerts }}Whether the rule triggers email alerts.
Email Alert Users{{ form.alert_users }}Users to alert via email.
Message{{ form.message }}The message for events created by the rule.

Timing and Severity

AttributeSettingDescription
Severity{{ form.severity }}The rule's severity.
Severity Modifier{{ form.severity_modifier }}The multiplier for severity when calculating magnitude.
overkill Modifier{{ form.overkill_modifier }}The multiplier for overkill ratio when calculating magnitude.
Time Interval{{ form.time_int }}The time interval for the rule to monitor.
Event Limit{{ form.event_limit }}The number of events to allow before triggering the rule.

Basic Criteria

AttributeSettingDescription
Event Type{{ form.event_type }}The event type for the rule to monitor.
Message Filter{{ form.message_filter_regex }}Search criteria for the event's message attribute (case insensitive regex).

Log Event Criteria

Basic Filters

Allowed Log Sources{{ form.allowed_log_sources }}Number of log sources allowed before triggering an event.

Regular Expression Filters

All regular expression filters use case insensitive regular expressions.

AttributeSettingDescription
Log Source Filter{{ form.log_source_filter_regex }}Search criteria for the event's log_source attribute.
Source Process Filter{{ form.process_filter_regex }}Search criteria for the event's source_process attribute.
Action Filter{{ form.action_filter_regex }}Search criteria for the event's action attribute.
Interface Filter{{ form.interface_filter_regex }}Search criteria for the event's interface attribute.
Status Filter{{ form.status_filter_regex }}Search criteria for the event's status attribute.
Source Host Filter{{ form.source_host_filter_regex }}Search criteria for the event's source_host attribute.
Source Port Filter{{ form.source_port_filter_regex }}Search criteria for the event's source_port attribute.
Dest Host Filter{{ form.dest_host_filter_regex }}Search criteria for the event's dest_host attribute.
Dest Port Filter{{ form.dest_port_filter_regex }}Search criteria for the event's dest_port attribute.
Source User Filter{{ form.source_user_filter_regex }}Search criteria for the event's source_user attribute.
Target User Filter{{ form.target_user_filter_regex }}Search criteria for the event's target_user attribute.
Command Filter{{ form.command_filter_regex }}Search criteria for the event's command attribute.
Path Filter{{ form.path_filter_regex }}Search criteria for the event's path attribute.
Parameters Filter{{ form.parameters_filter_regex }}Search criteria for the event's parameters attribute.
Referrer Filter{{ form.referrer_filter_regex }}Search criteria for the event's referrer attribute.
Raw Text Filter{{ form.raw_text_filter_regex }}Search criteria for the raw event.

List Matching

AttributeSettingDescription
Match List File Path{{ form.match_list_path }}The path for the match list file on the LogESP server.
Match Field{{ form.match_field }}The event field to compare to the match list.
Allow List{{ form.match_allowlist }}Use list as allowlist instead of blocklist.

Rule Event Criteria

AttributeSettingDescription
Magnitude Filter{{ form.magnitude_filter }}The minimum magnitude required to set off the rule.
Rule Name Filter{{ form.rulename_filter_regex }}Search criteria for the name of the event's source rule.
{% endblock %}