[graphics 06448] [PATCH 2/2] fix a bug that use option '-k key-string' cannot search out all matched logs

Steve Grubb sgrubb at redhat.com
Wed Jul 30 11:06:19 UTC 2008


On Tuesday 29 July 2008 21:33:13 zhangxiliang wrote:
> > echo 'node=RHEL5.2GA type=CONFIG_CHANGE msg=audit(1217404709.683:23182):
> > auid=0 subj=root:system_r:auditctl_t:s0-s0:c0.c1023 op=remove rule
> > key="haha" list=4 res=1'
>
> Why the message which type is "CONFIG_CHANGE" contains "key" field?
> The "CONFIG_CHANGE" audit message should only describe the audit object
> status.

The reason that the key field is output is an attempt at telling the security 
officer more about which rule was deleted. Yes at the commandline you know 
what rules you just deleted, but if all you have is the logs and it happened 
some time in the past, how do you know *exactly* which rule was deleted? This 
gets us closer without having to write something in the kernel that iterates 
through the fields and changes them to text. We really can't do that in the 
kernel.

-Steve




More information about the Linux-audit mailing list