xref: /illumos-gate/usr/src/lib/libbsm/audit_class.txt (revision fa4a3e77edc40df6d92e8da6fc4961d275e9896d)
1#
2# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
6#
7# CDDL HEADER START
8#
9# The contents of this file are subject to the terms of the
10# Common Development and Distribution License (the "License").
11# You may not use this file except in compliance with the License.
12#
13# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14# or http://www.opensolaris.org/os/licensing.
15# See the License for the specific language governing permissions
16# and limitations under the License.
17#
18# When distributing Covered Code, include this CDDL HEADER in each
19# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20# If applicable, add the following below this CDDL HEADER, with the
21# fields enclosed by brackets "[]" replaced with your own identifying
22# information: Portions Copyright [yyyy] [name of copyright owner]
23#
24# CDDL HEADER END
25#
26# User Level Class Masks
27#
28# "Meta-classes" can be created; these are supersets composed of multiple base
29# classes, and thus will have more than 1 bit in its mask. See "ad", "all",
30# "am", and "pc" below for examples.
31#
32# The "no" (invalid) class below is commonly (but not exclusively) used in
33# audit_event for obsolete events.
34#
35#
36# File Format:
37#
38#	mask:name:description
39#
400x00000000:no:invalid class
410x00000001:fr:file read
420x00000002:fw:file write
430x00000004:fa:file attribute access
440x00000008:fm:file attribute modify
450x00000010:fc:file create
460x00000020:fd:file delete
470x00000040:cl:file close
480x00000100:nt:network
490x00000200:ip:ipc
500x00000400:na:non-attribute
510x00001000:lo:login or logout
520x00004000:ap:application
530x00008000:cy:cryptographic
540x00010000:ss:change system state
550x00020000:as:system-wide administration
560x00040000:ua:user administration
570x00070000:am:administrative (meta-class)
580x00080000:aa:audit utilization
590x000f0000:ad:old administrative (meta-class)
600x00100000:ps:process start/stop
610x00200000:pm:process modify
620x00300000:pc:process (meta-class)
630x00400000:xp:X - privileged/administrative operations
640x00800000:xc:X - object create/destroy
650x01000000:xs:X - operations that always silently fail, if bad
660x01c00000:xx:X - all X events (meta-class)
670x02000000:sa:SACL-based File Access Auditing
680x20000000:io:ioctl
690x40000000:ex:exec
700x80000000:ot:other
710xffffffff:all:all classes (meta-class)
72