From: John Dennis <jdennis@redhat.com>
To: kunal chandarana <chandarana.kunal@gmail.com>
Cc: linux-audit@redhat.com
Subject: Re: Audit DB support.........
Date: Thu, 13 Dec 2007 13:27:35 -0500 [thread overview]
Message-ID: <47617997.5070404@redhat.com> (raw)
In-Reply-To: <770716a30712130131t1819d1d4w88aa3beb740e7db0@mail.gmail.com>
kunal chandarana wrote:
> Hey people I am planning to add DB support in audit functionality in
> linux. I have some queries so if u ppl could reply to this then it will
> help me a lot.
>
> 1) Should each name/value pair be turned into fields with a record?
> 2) Should each record be a table?
> 3) Should each event be a table?
> 4) Should event and its subrecords be reworked into one record that
> pulls out only the important data?
> 5) what kind of reports will be useful to run from the database. ?
> 6) what kind of reporting user will find useful. ?
> 7) What are the main reports and what information should they contain?
It's kind of hard to answer some of the questions without knowing what
type of analysis you'll be doing. But having written some audit analysis
code and a backend to store it, here would be my suggestions.
* You should be able to search by record type
* You should be able to query an event and get all its records, and
given a record it should be easy to get to the event it's contained in.
* Breaking records into name/value pairs is probably too fine grained.
Searching by record type is a good level of granularity. Not all record
types have complete name/value pairs or are well formed and regular.
* The event id (includes the timestamp) is shared between all records of
one event. The serial number of the event id is not all that important,
but one should be able to search on the timestamp.
* Host information has recently been added. The searching by host will
be critical.
--
John Dennis <jdennis@redhat.com>
prev parent reply other threads:[~2007-12-13 18:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 9:31 Audit DB support kunal chandarana
2007-12-13 18:27 ` John Dennis [this message]
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=47617997.5070404@redhat.com \
--to=jdennis@redhat.com \
--cc=chandarana.kunal@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.