Copyright (c) 2019 Peter Tribble.
Copyright (c) 2003, Sun Microsystems, Inc.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
praudit [-r|-s] [-lx] [-ddel] [-g filename] [-p filename] [filename]...
Use del as the field delimiter instead of the default delimiter, which is the comma. If del has special meaning for the shell, it must be quoted. The maximum size of a delimiter is three characters. The delimiter is not meaningful and is not used when the -x option is specified.
Print one line per record.
Print records in their raw form. Times, UIDs, GIDs, record types, and events are displayed as integers. This option is useful when naming services are offline. The -r option and the -s option are exclusive. If both are used, a format usage error message is output.
Display records in their short form. Numeric fields' ASCII equivalents are looked up by means of the sources specified in the /etc/nsswitch.conf file (see nsswitch.conf(5)). All numeric fields are converted to ASCII and then displayed. The short ASCII representations for the record type and event fields are used. This option and the -r option are exclusive. If both are used, a format usage error message is output.
Print records in XML form. Tags are included in the output to identify tokens and fields within tokens. Output begins with a valid XML prolog, which includes identification of the DTD which can be used to parse the XML.
Read group entries from the specified file. GIDs referenced in the audit files will be resolved to group names using this file. GIDs not referenced in the specified file will be resolved by the host system. This option is useful when aggregating logs from multiple systems onto a single host for analysis, allowing GIDs to be resolved to the group names appropriate to the source of the audit file. To do this, copy the /etc/group file from the system from which the audit file originates and use that as the argument to the -g flag.
Read passwd entries from the specified file. UIDs referenced in the audit files will be resolved to user names using this file. UIDs not referenced in the specified file will be resolved by the host system. This option is useful when aggregating logs from multiple systems onto a single host for analysis, allowing UIDs to be resolved to the user names appropriate to the source of the audit file. To do this, copy the /etc/passwd file from the system from which the audit file originates and use that as the argument to the -p flag.
Audit event definition and class mappings.
Audit class definitions.
Directory containing the versioned DTD file referenced in XML output, for example, adt_record.dtd.1.
Directory containing the versioned XSL file referenced in XML output, for example, adt_record.xsl.1.
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability See below |
The command stability is evolving. The output format is unstable.