* audit rules placement
@ 2016-01-29 10:37 Lev Stipakov
2016-01-29 12:04 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Lev Stipakov @ 2016-01-29 10:37 UTC (permalink / raw)
To: linux-audit
Hello,
I have a rpm/deb package which includes audisp plugin. In order plugin
to work, I need to permanently add audit rules. It seems that for
Centos/RHEL 7 I need to put those into /etc/audit/rules.d/audit.rules
and for Centos/RHEL6 (and probably Debian / Ubuntu?) it is
/etc/audit/audit.rules.
I noticed however that at least on Centos 7 I could put my rules into
/etc/audit/rules.d/plugin.rules and they will be picked on auditd
restart and added to /etc/audit/audit.rules. This does not work on
Debian 8 - even though it has ruled.d directory only rules from
/rules.d/audit.rules are used.
Is there some kind of "official" guidance to where I should put my rules
on Centos/RHEL/Debian/Ubuntu ?
-Lev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: audit rules placement
2016-01-29 10:37 audit rules placement Lev Stipakov
@ 2016-01-29 12:04 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2016-01-29 12:04 UTC (permalink / raw)
To: Lev Stipakov; +Cc: linux-audit
On Fri, 29 Jan 2016 12:37:31 +0200
Lev Stipakov <lstipakov@gmail.com> wrote:
> Hello,
>
> I have a rpm/deb package which includes audisp plugin. In order
> plugin to work, I need to permanently add audit rules. It seems that
> for Centos/RHEL 7 I need to put those
> into audit.rules and for Centos/RHEL6 (and
> probably Debian / Ubuntu?) it is /etc/audit/audit.rules.
>
> I noticed however that at least on Centos 7 I could put my rules into
> /etc/audit/rules.d/plugin.rules and they will be picked on auditd
> restart and added to /etc/audit/audit.rules. This does not work on
> Debian 8 - even though it has ruled.d directory only rules from
> /rules.d/audit.rules are used.
>
> Is there some kind of "official" guidance to where I should put my
> rules on Centos/RHEL/Debian/Ubuntu ?
/etc/audit/rules.d/ is where you should put rules for all recent audit
packages. You may need to advise them to enable augenrules. For
anything older, it needs to be inserted into audit.rules.
-Steve
> -Lev
>
> --
> Linux-audit mailing list
> Linux-audit@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-audit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-29 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 10:37 audit rules placement Lev Stipakov
2016-01-29 12:04 ` Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox