{% extends "settings/layout.html" %} {% block settings_content %}

Detection Rules

Globally enable or disable rule families. Per-project allow-lists in each configuration's Advanced Settings can further narrow this set, but they cannot enable a rule that is globally disabled here.

{% if flash %}
{{ flash.message }}
{% endif %} {% if any_env_overrides %}
One or more rules below have an OPPORTUNITY_*_ENABLED environment variable set. Env vars take precedence over admin toggles — saving here will not change those rows until the env var is removed.
{% endif %}
{% for group in groups %}
{{ group.title }} {% if group.description %}

{{ group.description }}

{% endif %}
{% for rule in group.rules %} {% set is_env = rule.source == 'env' %} {% endfor %}
{% endfor %}

Changes apply on the next detection run — no restart required.

{% endblock %}