public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* ausearch question
@ 2014-04-07  6:29 Burn Alting
  2014-04-07 13:59 ` Steve Grubb
  0 siblings, 1 reply; 5+ messages in thread
From: Burn Alting @ 2014-04-07  6:29 UTC (permalink / raw)
  To: linux audit

All,

I note when interpreting raw audit with the ausearch --interpret option,
the code in src/ausearch-report.c:output_interpreted_node(), when
parsing key value pairs which are not enclosed in double or single
quotes, looks for embedded comma's in the value part and, if found,
effectively terminates the value at the comma. This in effect, makes the
data after the comma the start of the next key (if any). There are some
exceptions in the code (audit_type == AUDIT_VIRT_MACHINE_ID,
AUDIT_OBJ_PID, AUDIT_PATH and AUDIT_IPC).

What sort of input is this addressing?

Are there examples?

Thanks in advance

Burn

^ permalink raw reply	[flat|nested] 5+ messages in thread
* ausearch question
@ 2008-05-01 18:11 LC Bruzenak
  2008-05-02 14:06 ` Steve Grubb
  0 siblings, 1 reply; 5+ messages in thread
From: LC Bruzenak @ 2008-05-01 18:11 UTC (permalink / raw)
  To: Linux Audit

I was wondering what a "-ts now" would return from my audit data.
I thought maybe it would be similar to a "tail" of the data, but that's
not what I got.

Is this what you'd expect?:

[root@hugo ~]# date ; ausearch -i -ts now --just-one
Thu May  1 14:05:10 EDT 2008
----
type=DAEMON_START msg=audit(05/01/2008 09:14:40.029:3602) : auditd
start, ver=1.7.2 format=raw kernel=2.6.25-1.fc9.x86_64 auid=unset
pid=2003 res=success 


Most of the relevant data is in the record, however:
[root@hugo ~]# uname -a
Linux hugo 2.6.25-1.fc9.x86_64 #1 SMP Thu Apr 17 01:11:31 EDT 2008
x86_64 x86_64 x86_64 GNU/Linux

[root@hugo ~]# rpm -qa | grep audit
audit-libs-1.7.2-6.fc9.i386
audit-1.7.2-6.fc9.x86_64
audit-libs-python-1.7.2-6.fc9.x86_64
audit-libs-devel-1.7.2-6.fc9.x86_64
audit-libs-devel-1.7.2-6.fc9.i386
audit-libs-1.7.2-6.fc9.x86_64

Thx,
LCB.
-- 
LC (Lenny) Bruzenak
lenny@magitekltd.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-07 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07  6:29 ausearch question Burn Alting
2014-04-07 13:59 ` Steve Grubb
2014-04-07 15:53   ` Burn Alting
  -- strict thread matches above, loose matches on Subject: below --
2008-05-01 18:11 LC Bruzenak
2008-05-02 14:06 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox