Linux-audit Archive mirror
 help / color / mirror / Atom feed
From: Stephen Smalley <stephen.smalley.work@gmail.com>
To: linux-audit@redhat.com
Subject: Excluding a script / process and its descendants from audit
Date: Thu, 14 Jul 2022 13:53:26 -0400	[thread overview]
Message-ID: <CAEjxPJ7KRky5CErctd01iDC8GByW8sv5-F9cc9zPtF8LdPP_Hg@mail.gmail.com> (raw)

Hi,

Is it possible to exclude a script from triggering audit records?
I know that one can exclude an executable via -a never,exit -F
exe=/path/to/exe but I haven't been able to find a way to do the same
for a script.
Also, is there a way to have the exclusion applied to all child
processes spawned by the script?

Thanks.

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


             reply	other threads:[~2022-07-14 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14 17:53 Stephen Smalley [this message]
2022-07-14 19:00 ` Excluding a script / process and its descendants from audit Lenny Bruzenak
2022-07-14 21:38   ` Paul Moore

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=CAEjxPJ7KRky5CErctd01iDC8GByW8sv5-F9cc9zPtF8LdPP_Hg@mail.gmail.com \
    --to=stephen.smalley.work@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).