I assume you have already looked at the installation and deployment manual.
As Jeroen points out, the #X members support filtering by progressively excluding records. Each EXCLUDE command removes more records from the input stream.
If you like complicated logical expressions, you can try to write your selection as one large EXCLUDE command, remembering that SELECT EVENT=ACCESS(FAILURE) is the same as EXCLUDE NOT(EVENT=ACCESS(FAILURE)) for most purposes. So if you like to write a positive selection of some record types and conditions, you wrap those clauses in an EXCLUDE NOT( ) statement, as Jeroen demonstrated. Note, by using a field name in a select clause, you also imply that the record must contain the field name.
Alternatively, you can use multiple EXCLUDE commands, remembering that their effect is cumulative. For example:
exclude type<>(80,230) /* forget about all but these 2 types */
exclude type=80 event=access(success) /* keep the access failure and warnings, and also all RACF commands, logon events, etc */
exclude type=230 ACF2_DESCRIPTOR<>VIO /* keep only the ACF2 violations */
You can add more EXCLUDE commands for type 80 and 230 to further reduce messages to the SIEM.
Note, this is not how I would implement a SIEM feed. Violations are interesting, but don't help much identifying dangerous system changes, data exfiltration, or generally non-compliant activities. In the olden days, auditors would scrutinize access violations because they did not have the tools to inspect the much more numerous successful access records. That way, they would, however, miss system updates, database copies, etc. With intelligent filters in SIEMs you can do much better than just looking at access violations.
------------------------------
Rob van Hoboken
------------------------------
Original Message:
Sent: Wed December 11, 2024 11:19 PM
From: Mark Butler
Subject: Sending ACF2 and RACF SMF records to SIEM via zSecure
I have been trying to work out how to filter the SMF records to process using zSecure to send to our SIEM.
Initially, want to restrict to only type 230 (ACF2) & 80 (RACF) records, specifically violations (not loggings), invalid passwords and security database changes.
I have tried editing the CKQCEF#X member but the filtering I have specified is not being honoured. Could someone please give me some starting statements.
------------------------------
Mark Butler
------------------------------