PRAUDIT(1) General Commands Manual PRAUDIT(1)

prauditprint the contents of audit trail files

praudit [-lnpx] [-r | -s] [-d del] [file ...]

The praudit utility prints the contents of the audit trail files to the standard output in human-readable form. If no file argument is specified, the standard input is used by default.

The options are as follows:

del
Specifies the delimiter. The default delimiter is the comma.
Prints the entire record on the same line. If this option is not specified, every token is displayed on a different line.
Do not convert user and group IDs to their names but leave in their numeric forms.
Specify this option if input to praudit is piped from the tail(1) utility. This causes praudit to sync to the start of the next record.
Prints the records in their raw form. Show records and event types in a numeric form (also known as raw form). This option is exclusive from -s.
Prints the records in their short form. Show records and events in a short textual representation. This option is exclusive from -r.
Print audit records in the XML output format.

If the raw or short forms are not specified, the default is to print the tokens in their raw form. Events are displayed as per their descriptions given in /etc/security/audit_event; UIDs and GIDs are expanded to their names; dates and times are displayed in human-readable format.

/etc/security/audit_class
Descriptions of audit event classes.
/etc/security/audit_event
Descriptions of audit events.

auditreduce(1), audit(4), auditpipe(4), audit_class(5), audit_event(5)

The OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer Inc. in 2004. It was subsequently adopted by the TrustedBSD Project as the foundation for the OpenBSM distribution.

This software was created by McAfee Research, the security research division of McAfee, Inc., under contract to Apple Computer Inc. Additional authors include Wayne Salamon, Robert Watson, and SPARTA Inc.

The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.

August 4, 2009 macOS 15.0