All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: 杨海 <hai.yang@magic-shield.com>
Cc: linux-audit <linux-audit@redhat.com>
Subject: Re: How to filter PROCTITLE events
Date: Tue, 30 Jul 2019 08:29:24 -0400	[thread overview]
Message-ID: <7248178.66rVtY164I@x2> (raw)
In-Reply-To: <tencent_5D3084A9009B5E362A73C120@qq.com>

Hello,

On Tuesday, July 30, 2019 8:18:41 AM EDT 杨海 wrote:
> Thanks for the suggestion on read/write. I have two more questions which I
> haven't figured out.
> 1) Does auditctl rules support regular expressions?
> For some params, it is not easy to filter specific messages using “=” or
> "!=". 

No. Most things inside the kernel are numbers. Text is a human convenience.

> 2) In message payload, some fields are not what we care about. Any
> way we can reduce the fields/params in audit log? 

By default, no. You could patch auditd to do so if its really necessary.

-Steve




--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit

      reply	other threads:[~2019-07-30 12:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24  9:27 How to filter PROCTITLE events 杨海
2019-07-24 12:14 ` Steve Grubb
2019-07-25  5:44   ` 杨海
2019-07-25 14:51     ` Steve Grubb
2019-07-30 12:18       ` 杨海
2019-07-30 12:29         ` Steve Grubb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7248178.66rVtY164I@x2 \
    --to=sgrubb@redhat.com \
    --cc=hai.yang@magic-shield.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.