As you can see... there's a bit more than just ZR & ZC entries.
Not looking for a solution here... just odd, since it shouldn't be doing this based on what I've read.
System value . . . . . : QAUDLVL
Description . . . . . : Security auditing level
Auditing Auditing
options options
*NONE
------------------------------------------------------------
System value . . . . . : QAUDCTL
Description . . . . . : Auditing control
Auditing
control
*OBJAUD
*NOQTEMP
*AUDLVL
------------------------------------------------------------
Journal . . . . . . : QAUDJRN Library . . . . . . : QSYS
Largest sequence number on this screen . . . . . . : 00000000000000002436
Type options, press Enter.
5=Display entire entry
Opt Sequence Code Type Object Library Job Time
2425 T CA IT01A 17:45:17
2426 T CA IT01A 17:45:17
2427 T OW IT01A 17:45:21
2428 T CA IT01A 17:45:21
2429 T CA IT01A 17:45:21
2430 T CA IT01A 17:45:21
2431 T OW IT01A 17:45:25
2432 T CA IT01A 17:45:25
2433 T CA IT01A 17:45:25
2434 T CA IT01A 17:45:25
2435 T ZC EDISR5 19:00:05
2436 T ZC EDISR5 19:00:05
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Marc Rauzier
Sent: Tuesday, May 3, 2022 4:20 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: QAUDJRN
Le 03/05/2022 à 21:17, Greg Wilburn a écrit :
So I'm ready to turn this thing off... Actually, I already have.
I changed QAUDCTL to *NONE, but because my QAUDJRN was setup with MNGRCV(*SYSTEM) it creates a new receiver each morning when we IPL.
That's the normal behavior of journal management. You should only see
entries related to journal and receivers management, such as new
receiver created and attached, previous receiver detached, journal and
receivers backed up... This cannot use a lot of disk space. If you
specify DLTRCV(*YES) for AUDJRN journal, you will have only one receiver
in the chain, even if it is not really a recommended setup for QAUDJRN
journal. If you do no longer want to use audit (well, this is not really
recommended nowadays) and do not want to manage the journal, you can
delete it then delete the receivers.
BUT, according to IBM there shouldn’t be anything in the receiver file. There are definitely ZC entries.
Unless I am wrong, ZC/ZR entries come with QAUDCTL system value set with
*OBJAUD. So that is quite strange if they are still here when QAUDCTL is
set to *NONE. Are you sure that those ZC entries are *after* QAUDCTL was
set to *NONE?
I'm so frustrated right now... why would IBM give you something that has the potential to EAT DISK SPACE at an alarming rate, yet not provide any "cleanup" tools that aren't supplied "AS-IS". Yet we are supposed to turn this on??
Audit journal needs to be properly managed. Normally, you may want to
backup then delete the receivers and keep the backup long enough to
comply with security rules which require the ability to analyse them in
case of security failure. If you do not want to create tools for that, I
suggest you to look at some commercial software. Security becomes more
and more a key topic nowadays.
FWIW, the DB2 Web Query folks came back and said to turn off auditing on the directory (and subtree) that is generating 99.7% of the AF entries.
As far as I know, you cannot do that. There is no directory or file or
object attribute which prevents Authority Failures entries in audit
journal. As soon as QAUDLVL(2) system value includes *AUTFAIL, the
system will log *all* authority failures. This will always be a matter
for security administrator to solve them with setting up appropriate
authority. My 2 cents.
Is this really worth all the effort?
As an Amazon Associate we earn from qualifying purchases.