{{ rule.name }}

{% if rule.conditions %} {% else %} {% endif %}
Description {{ rule.description }}
Alerters {{ rule.alerters | join(', ') }}
Conditions {{ rule.conditions.condition }}
    {% set group = rule.conditions %} {%- for item in group.rules recursive %}
  • {%- if item.rules -%} {{ item.condition }}
      {{ loop(item.rules) }}
    {%- else -%} {%- if item.operator.startswith('column_') and not item.operator.endswith('_empty') %} Column "{{ item.value[0] }}" {{ item.operator[7:] | pretty_operator }} "{{ item.value[1] }}" {%- elif item.operator.startswith('column_') and item.operator.endswith('_empty') %} Column "{{ item.value }}" {{ item.operator[7:] | pretty_operator }} {%- else -%} {{ item.id | pretty_field }} {{ item.operator | pretty_operator }} "{{ item.value }}" {%- endif %} {%- endif -%}
  • {%- endfor %}
No conditions