Command reference / sec
DSPAUDJRNE
Display Audit Journal Entries
The Display Audit Journal Entries (DSPAUDJRNE) command allows you to generate security journal audit reports. The reports are based on the audit entry types and the user profile specified on the command. Reports can be limited to specific time frames and detached journal receivers can be searched. The reports are directed to the active display or a spooled file. The audit entries for which you can run reports is a subset of the audit entries that may be generated. For information on all of the possible audit entries, see Chapter 9 of the IBM i Security Reference, SC41-5302. The reports only include data that is specific to each audit entry. None of the standard heading fields are included in the reports. Also, the reports have not been updated for many releases to include any new fields added to the audit entry. To see all of the data for an audit entry, use the Copy Audit Journal Entries (CPYAUDJRNE) command instead.
Allowed environments: *ALL.
Positional parameters: 2.
Restrictions
- You must have audit (*AUDIT) special authority to run this command.
Parameters
ENTTYP
Journal entry types
The journal entry types to be included in the report. You can specify 30 values for this parameter.
Allowed values:
AF, CA, CD, CO, CP, CU, CV, DO, EV, GR, IP, JS, ND, NE, OM, OR, OW, PA, PG, PO, PS, PW, SF, SO, SV, VO, YC, YR, ZC, ZR
AF- Authorization failure entries.
CA- Change authority entries.
CD- Command string entries.
CO- Create object entries.
CP- Change user profile entries.
CU- Cluster management operations.
CV- Connection verification.
DO- Delete object entries.
EV- Environment variable operations.
GR- Generic record.
IP- Interprocess communication
JS- Actions against jobs entries.
ND- Directory search filter violations.
NE- End point filter violations.
OM- Object move or rename.
OR- Object restored entries.
OW- Object ownership changed entries.
PG- Change of an object's primary group.
PO- Printed output entries.
PS- Profile swap.
PW- Invalid password entries.
SF- Action on spooled files entries.
SO- Server security user information actions.
SV- System values changed entries.
VO- Validation list actions.
YC- DLO object changed entries.
YR- DLO object read entries.
ZC- Object changed entries.
ZR- Object read entries.
USRPRF
User profile
Journal entries created for a user profile's actions are included in the report.
Suggested / special values:
*ALL
*ALL- The report will include entries for all user profiles.
name- Specify the name of the user profile whose journal entries are to be included in the report.
OUTPUT
Output
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*PRINT, *
*PRINT- The output is printed with the job's spooled output.
*- The output is shown (if requested by an interactive job) or printed with the job's spooled output (if requested by a batch job).
Examples
DSPAUDJRNE ENTTYP(AF) OUTPUT(*)
This command displays all 'Authority Failure' audit records in the current journal receiver.
Generated from os/cl/catalog/DSPAUDJRNE.json and os/cl/help/DSPAUDJRNE.json.