Skip to content

Commit

Permalink
fix: add audit programname to rsyslog
Browse files Browse the repository at this point in the history
  • Loading branch information
juju4 committed Apr 30, 2023
1 parent 1caebc9 commit c9e9c97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/rsyslog-audispd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ if $programname == 'audispd' then {{ audisp_syslog_target }}
{% else %}
& stop
{% endif %}
if $programname == 'audit' then {{ audisp_syslog_target }}
{% if rsyslog_v is defined and rsyslog_v and rsyslog_v|string is version('8.0', '<') %}
& ~
{% else %}
& stop
{% endif %}
{% endif %}

0 comments on commit c9e9c97

Please sign in to comment.