14 lines
328 B
Django/Jinja
14 lines
328 B
Django/Jinja
{% for item in (auditd_optional_rules_default + auditd_optional_rules_extra) %}
|
|
{% if item.comment is defined and item.comment %}
|
|
## {{ item.comment }}
|
|
{% endif %}
|
|
{% if not item.rule is string and item.rule is iterable %}
|
|
{% for rule in item.rule %}
|
|
{{ rule }}
|
|
{% endfor %}
|
|
{% else %}
|
|
{{ item.rule }}
|
|
{% endif %}
|
|
|
|
{% endfor %}
|