監査ログ内の inode 番号の代わりにファイル パスを使用する

監査ログ内の inode 番号の代わりにファイル パスを使用する

私がする時:

echo "#TEST" >> /etc/passwd

監査ログには次の内容が表示されます。

node=kayak.office.local type=SYSCALL msg=audit(1412687666.054:62033):
    arch=c000003e syscall=2 success=yes exit=3 a0=2939480 a1=241 a2=1b6
    a3=76 items=2 ppid=12744 pid=12748 auid=1030 uid=0 gid=0 euid=0 
    suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1769 comm="bash" exe="/bin/bash" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key="identity"

node=kayak.office.local type=CWD     msg=audit(1412687666.054:62033):  
    cwd="/root"

node=kayak.office.local type=PATH    msg=audit(1412687666.054:62033):
    item=0 name="/etc/" inode=13    dev=fd:00 mode=040755  ouid=0 ogid=0 
    rdev=00:00 obj=system_u:object_r:etc_t:s0 nametype=PARENT

node=kayak.office.local type=PATH    msg=audit(1412687666.054:62033):  
    item=1 name=(null)  inode=15883 dev=fd:00 mode=0100644 ouid=0 ogid=0 
    rdev=00:00 obj=system_u:object_r:etc_t:s0 nametype=NORMAL

(読みやすくするためにスペースを追加)

/etc/passwd の inode は確かに です11908が、ファイル名に基づいてルールを作成する外部ツールで解析するのは困難です。ファイル名/パスを取得できますか?

関連情報