From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Multiple Rule Logic
Date: Tue, 16 May 2006 17:46:31 -0400 [thread overview]
Message-ID: <200605161746.31757.sgrubb@redhat.com> (raw)
In-Reply-To: <446A326C.1070600@us.ibm.com>
On Tuesday 16 May 2006 16:13, Michael C Thompson wrote:
> I was wondering what is to be expected when multiple rules exist that
> pertain to the same action.
You have to consider the lists that they are on. Each list is evaluated from
first to last. Any event that is created is sent to the exclude filter for
potential action.
> Examples:
> entry,always -S chmod - should see a record for chmod
> exclude,always -S all - should never see any sys calls
>
> Combined, should I expect a chmod record?
Yes. The exclude filter only removes records by message type.
exclude,always -F msgtype=SYSCALL
would be a valid use of it.
> From my experiments with the current code, if any one rule instructs
> audit to log the action, auditd will log it (i.e. I'll see a chmod
> record). I'm wondering if this is the intended functionality.
I suspect we should have an error when you try to load a rule like in you
example.
-Steve
next prev parent reply other threads:[~2006-05-16 21:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-16 20:13 Multiple Rule Logic Michael C Thompson
2006-05-16 21:46 ` Steve Grubb [this message]
2006-05-17 15:30 ` Michael C Thompson
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=200605161746.31757.sgrubb@redhat.com \
--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