xoxys.auditd/templates/etc/audit/rules.d/50-optional.rules.j2

14 lines
328 B
Plaintext
Raw Permalink Normal View History

2022-09-23 21:03:22 +00:00
{% 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 %}