linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Watching over non-existent folder to maintain a generic audit.rules file
Date: Tue, 28 Jul 2015 15:23:49 -0400	[thread overview]
Message-ID: <1795651.WB0YxzRxgh@x2> (raw)
In-Reply-To: <55B79F1A.1040207@floriancrouzat.net>

On Tuesday, July 28, 2015 05:26:18 PM Florian Crouzat wrote:
> Unfortunately, I do not only watch over system-related files and folders
> but also applicative ones (eg custom path where some private keys are
> stored, etc) ..
> My problem is that these folders do not exists on all hosts thus making
> it impossible to write a generic audit.rules files.

What kernel are you using? And user space package?


> As I said, I have thousands of hosts and I can't imagine deploying
> different files on every hosts depending on the profile of the host.
> I know puppet could help me for this kind of stuff but I don't have it
> yet and even though, it would be difficult to configure.

As of the 2.3 user space release, there is a utility, augenrules which takes 
files in /etc/audit/rules.d/ and compiles them into an audit.rules file. So, it 
would be possible for you to package up some rules for bind and install them 
when you install bind and have your package install a 
/etc/audit/rules.d/bind.rules file. You can have a base config, and then one for 
each kind of daemon or role that the machine serves.


> How do you guys usually workaround this issue ? I'm pretty sure I'm not
> the first one wanting to deploy a generic hardening across many hosts
> (but maybe I'm the only one using auditd to watch over something else
> than pure system-related stuff?

Others can chime in here.

-Steve

  reply	other threads:[~2015-07-28 19:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 15:26 Watching over non-existent folder to maintain a generic audit.rules file Florian Crouzat
2015-07-28 19:23 ` Steve Grubb [this message]
2015-07-28 22:39   ` Burn Alting
2015-07-29  6:24     ` Florian Crouzat
2015-08-04 13:57       ` Florian Crouzat
2015-08-04 19:55         ` Steve Grubb
2015-08-04 22:26           ` Burn Alting

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=1795651.WB0YxzRxgh@x2 \
    --to=sgrubb@redhat.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;
as well as URLs for NNTP newsgroup(s).