Skip to contentSkip to conversation

Excluding certain audit message types?

DISCUSSION Paul Moore 2 participants 4 messages Dec 7, 2007

lore
Share & tools
lore

Paul Moore

author
#0 lore raw

Hello friendly audit people,

I have a pretty simple question which I hope has a pretty simple answer. Is it possible to exclude a specific audit message type from the audit log? The auditctl man page looks like it might be possible using the syntax below but I'm not sure ...

 # auditctl -a exclude,always -F msgtype=1415
Signature · 2 lines
paul moore
linux security @ hp
#1 lore raw
Quoted 3 lines

Hello friendly audit people,

I have a pretty simple question which I hope has a pretty simple answer.

Is

Quoted 1 line

it possible to exclude a specific audit message type from the audit log?

The

Quoted 1 line

auditctl man page looks like it might be possible using the syntax below

but

Quoted 4 lines

I'm not sure ...

 # auditctl -a exclude,always -F msgtype=1415

yes, this is correct, but you may want to consider using the (usually more meaningful) message type name instead:

# auditctl -a exclude,always -F msgtype=1112
or
# auditctl -a exclude,always -F msgtype=USER_LOGIN

Klaus

Signature · 4 lines
Klaus Heinrich Kiwi/Brazil/IBM <[email protected]>
Software Engineer
IBM STG, Linux Technology Center
Phone:(+55-19) 2132-1909 [T/L 839-1909]
author
#2 lore raw
Quoted 7 lines · On Friday 07 December 2007 1:14:38 pm [email protected] wrote:
Quoted 7 lines

Hello friendly audit people,

I have a pretty simple question which I hope has a pretty simple answer. Is it possible to exclude a specific audit message type from the audit log? The auditctl man page looks like it might be possible using the syntax below but I'm not sure ...

Quoted 8 lines
Quoted 1 line
 # auditctl -a exclude,always -F msgtype=1415

yes, this is correct, but you may want to consider using the (usually more meaningful) message type name instead:

# auditctl -a exclude,always -F msgtype=1112
or
# auditctl -a exclude,always -F msgtype=USER_LOGIN

Great, thanks for the tip.

BTW, what is the linux-audit-bounces list? Some majordomo magic?

Signature · 2 lines
paul moore
linux security @ hp
#3 lore raw
Quoted 2 lines

BTW, what is the linux-audit-bounces list? Some majordomo magic?

You (and everyone else in this and other lists) will have to excuse me for that - it's probably my mailer (Lotus Notes). I'm working on an external mailer solution, though.

For the time being just ignore it (and the html part in my e-mails) =)

Klaus

Signature · 4 lines
Klaus Heinrich Kiwi/Brazil/IBM <[email protected]>
Software Engineer
IBM STG, Linux Technology Center
Phone:(+55-19) 2132-1909 [T/L 839-1909]