public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Lev Stipakov <lstipakov@gmail.com>
To: linux-audit@redhat.com
Subject: audit rules placement
Date: Fri, 29 Jan 2016 12:37:31 +0200	[thread overview]
Message-ID: <n8ffdb$ttl$1@ger.gmane.org> (raw)

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

             reply	other threads:[~2016-01-29 10:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 10:37 Lev Stipakov [this message]
2016-01-29 12:04 ` audit rules placement Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='n8ffdb$ttl$1@ger.gmane.org' \
    --to=lstipakov@gmail.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox