From: Joshua Roys <joshua.roys@gtri.gatech.edu>
To: John Dennis <jdennis@redhat.com>
Cc: "linux-audit@redhat.com" <linux-audit@redhat.com>
Subject: Re: [RFC] New ausearch output option & audit viewing in Spacewalk
Date: Mon, 8 Jun 2009 13:17:00 -0400 [thread overview]
Message-ID: <4A2D478C.3000400@gtri.gatech.edu> (raw)
In-Reply-To: <4A2D467B.7000201@redhat.com>
On 06/08/2009 01:12 PM, John Dennis wrote:
> Joshua Roys wrote:
>> Hello all.
>>
>> As part of developing an audit viewing "plugin"[1] to Spacewalk[2], I
>> wrote a small program to use libauparse to output (easily)
>> machine-parsable audit logs. I think this functionality would be nice
>> to have in ausearch, and as such, wrote a patch for it.
>>
>> As well as reviewing this patch, I would like your feedback concerning
>> the Spacewalk audit plugin. Any questions or constructive criticism is
>> welcome.
>
> Would you please post an example of the output and/or the parsing rules.
>
> Thanks
>
Basically the following:
type=USER_ACCT
serial=222
seconds=1244481001
milli=141
user pid=24777
uid=root
auid=unset
ses=4294967295
subj=system_u:system_r:crond_t:s0-s0:c0.c1023
op=PAM:accounting
acct=root
exe=/usr/sbin/crond
hostname=?
addr=?
terminal=cron
res=success
----
type=CRED_ACQ
serial=223
seconds=1244481001
milli=141
user pid=24777
uid=root
auid=unset
ses=4294967295
subj=system_u:system_r:crond_t:s0-s0:c0.c1023
op=PAM:setcred
acct=root
exe=/usr/sbin/crond
hostname=?
addr=?
terminal=cron
res=success
----
type=LOGIN
serial=224
seconds=1244481001
milli=141
login pid=24777
uid=root
old auid=unset
new auid=root
old ses=4294967295
new ses=34
----
Simply key=value with all nodes separated by "----\n". I should note
that the patch has not been exhaustively tested, it's more of a RFC and
also a request for those more knowledgeable of the audit logs to improve
upon it.
Thanks,
Joshua Roys
next prev parent reply other threads:[~2009-06-08 17:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-08 16:46 [RFC] New ausearch output option & audit viewing in Spacewalk Joshua Roys
2009-06-08 17:12 ` John Dennis
2009-06-08 17:17 ` Joshua Roys [this message]
2009-06-08 17:28 ` Steve Grubb
2009-06-08 17:35 ` Miloslav Trmac
2009-06-08 17:43 ` John Dennis
2009-06-08 18:06 ` 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=4A2D478C.3000400@gtri.gatech.edu \
--to=joshua.roys@gtri.gatech.edu \
--cc=jdennis@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