public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* aureport and command lines
@ 2012-07-22 14:31 Michael Mather
  2012-08-18 13:19 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Mather @ 2012-07-22 14:31 UTC (permalink / raw)
  To: linux-audit

I have written my own version of aureport. It is still buggy etc, but it
does already provide something interesting.

For example, it can show command lines. It takes something in the log
like:
   uid=1000 euid=0
   argc=4 a0="sudo" a1="cp" a2="qwerty" a3="/etc/xxx"

   uid = 0 euid=0
   argc=4 a0="cp" a1="qwerty" a2="/etc/xxx"

and puts out:
    uid   euid   command
    ---   ----   -------
   1000      0   sudo cp qwerty /etc/xxx
      0      0   cp qwerty /etc/xxx

which is interesting.

My question is whether I could have done something like this with
aureport.

(This is part of a much bigger question as to how audit can be used to
meet PCI requirements.)

Thanks - Michael
----------------

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

* Re: aureport and command lines
  2012-07-22 14:31 aureport and command lines Michael Mather
@ 2012-08-18 13:19 ` Steve Grubb
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2012-08-18 13:19 UTC (permalink / raw)
  To: linux-audit

On Sunday, July 22, 2012 10:31:23 AM Michael Mather wrote:
> I have written my own version of aureport. It is still buggy etc, but it
> does already provide something interesting.
> 
> For example, it can show command lines. It takes something in the log
> like:
>    uid=1000 euid=0
>    argc=4 a0="sudo" a1="cp" a2="qwerty" a3="/etc/xxx"
> 
>    uid = 0 euid=0
>    argc=4 a0="cp" a1="qwerty" a2="/etc/xxx"
> 
> and puts out:
>     uid   euid   command
>     ---   ----   -------
>    1000      0   sudo cp qwerty /etc/xxx
>       0      0   cp qwerty /etc/xxx
> 
> which is interesting.
> 
> My question is whether I could have done something like this with
> aureport.

You can't today. I think this is an omission in the current design. I will try 
to fix aureport to output this.

-Steve

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

end of thread, other threads:[~2012-08-18 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 14:31 aureport and command lines Michael Mather
2012-08-18 13:19 ` Steve Grubb

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