From: Steve Grubb <sgrubb@redhat.com>
To: klausk@br.ibm.com
Cc: "Linux-audit@redhat.com" <Linux-audit@redhat.com>
Subject: Re: should I loose audit data if I only care about the record's fields?
Date: Wed, 14 Nov 2007 11:18:00 -0500 [thread overview]
Message-ID: <200711141118.01035.sgrubb@redhat.com> (raw)
In-Reply-To: <OF7B8DC5E3.9D77FD67-ON85257393.0051FB3E-85257393.0054D459@br.ibm.com>
On Wednesday 14 November 2007 10:24:46 klausk@br.ibm.com wrote:
> It seems like a field value cannot contain any spaces,
Correct. I've mentioned that many times in different code reviews. You can add
data to the field for human use, but it won't be associated with the field's
value directly.
> so the 'operation' specified by usermod should be something like
> 'op=adding-supplemental-group-to-user new_group=sys acct=klausk'.
Yes, if all that text is needed. Sometimes, though, a new record type should
be created to carry the meaning.
> But then again we have another issue: it's up to the application to choose
> the operation name, the field name and what it means - or if there is any
> field at all! This many degrees of freedom may mean hell to people who
> actually are trying to extract information from these records.
Exactly. The audit fields are a gentlemen's agreement. This is why I've added
specific audit logging functions is to try to enforce some kind of
reasonableness to it. But, there are still fields that could get filled in
with spaces and make the parser not get it all.
> Standard formats, standard fields names with well-known meanings would
> certainly help.
That is what I've been trying to do with the audit logging functions. Some
people have complained about it. I guess they wanted freedom. But the logging
functions are the only way to guarantee that certain necessary fields get
recorded. I can't really do much about the content that gets recorded within
a field...
-Steve
next prev parent reply other threads:[~2007-11-14 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 23:30 should I loose audit data if I only care about the record's fields? Klaus Heinrich Kiwi
2007-11-14 14:30 ` John Dennis
2007-11-14 15:24 ` klausk
2007-11-14 16:18 ` Steve Grubb [this message]
2007-11-14 15:37 ` 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=200711141118.01035.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=Linux-audit@redhat.com \
--cc=klausk@br.ibm.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