box.audit.unix
Introduction
This table collects information about different events generated by UNIX.
Source tables
The information displayed is extracted from the following tables:
box.audit.unix.audispd
box.audit.unix.auditd
box.unix
Table structure
This is the set of columns displayed by this union table, which is the result of the collection of columns present in all source tables:
Extra fields
Fields marked as Extra in the table below are not shown by default in data tables and need to be explicitly requested in the query. You can find them marked as Extra when you perform a query so they can be easily identified. Learn more about this in Selecting unrevealed columns.
Field | Type | Extra fields |
---|---|---|
eventdate |
| Â |
source |
| Â |
machine |
| Â |
node |
| Â |
type |
| Â |
audit_timestamp |
| Â |
audit_id |
| Â |
pid |
| Â |
uid |
| Â |
gid |
| Â |
auid |
| Â |
ses |
| Â |
old_auid |
| Â |
old_ses |
| Â |
op |
| Â |
opType |
| Â |
acct |
| Â |
id |
| Â |
exe |
| Â |
hostname |
| Â |
addr |
| Â |
terminal |
| Â |
res |
| Â |
comm |
| Â |
reason |
| Â |
sig |
| Â |
dev |
| Â |
prom |
| Â |
old_prom |
| Â |
fver |
| Â |
fp |
| Â |
fi |
| Â |
fe |
| Â |
old_pp |
| Â |
old_pi |
| Â |
old_pe |
| Â |
old_pa |
| Â |
pp |
| Â |
pi |
| Â |
pe |
| Â |
pa |
| Â |
grantors |
| Â |
kind |
| Â |
direction |
| Â |
spid |
| Â |
suid |
| Â |
cipher |
| Â |
ksize |
| Â |
mac |
| Â |
pfs |
| Â |
rport |
| Â |
laddr |
| Â |
lport |
| Â |
cwd |
| Â |
argc |
| Â |
a0 |
| Â |
a1 |
| Â |
a2 |
| Â |
a3 |
| Â |
tty |
| Â |
table |
| Â |
family |
| Â |
entries |
| Â |
item |
| Â |
name |
| Â |
inode |
| Â |
mode |
| Â |
ouid |
| Â |
ogid |
| Â |
rdev |
| Â |
objtype |
| Â |
cap_fp |
| Â |
cap_fi |
| Â |
cap_fe |
| Â |
cap_fver |
| Â |
proctitle |
| Â |
arch |
| Â |
syscall |
| Â |
compat |
| Â |
ip |
| Â |
code |
| Â |
unit |
| Â |
saddr |
| Â |
sw |
| Â |
sw_type |
| Â |
key_enforce |
| Â |
gpg_res |
| Â |
root_dir |
| Â |
success |
| Â |
exit |
| Â |
items |
| Â |
ppid |
| Â |
euid |
| Â |
fsuid |
| Â |
egid |
| Â |
sgid |
| Â |
fsgid |
| Â |
key |
| Â |
new_level |
| Â |
old_level |
| Â |
cmd |
| Â |
user |
| Â |
ctr_id_short |
| Â |
vm_pid |
| Â |
vm |
| Â |
hostchain |
| ✓ |
tag |
| ✓ |
rawMessage |
| ✓ |
Field transformations
Even though all source tables have several features in common, they have some particularities that make it necessary to undergo a set of transformations to harmonize them for the union table. The most common transformations comprise changes in the data type or the application of rules when several columns in the source table feed a single column in the union table. You can find below the detailed list of transformations in each source table.
box.audit.unix.audispd
Field in union table | Field in source table | Field transformation | Data type | Extra fields |
---|---|---|---|---|
eventdate | eventdate | Â |
| Â |
source | - | "audispd" |
| Â |
machine | machine | Â |
| Â |
node | node | Â |
| Â |
type | type | Â |
| Â |
audit_timestamp | audit_timestamp | Â |
| Â |
audit_id | audit_id | Â |
| Â |
pid | pid | Â |
| Â |
uid | uid | Â |
| Â |
gid | gid | Â |
| Â |
auid | auid | Â |
| Â |
ses | ses | Â |
| Â |
old_auid | old_auid | Â |
| Â |
old_ses | old_ses | Â |
| Â |
op | op | Â |
| Â |
opType | opType | Â |
| Â |
acct | acct | Â |
| Â |
id | id | Â |
| Â |
exe | exe | Â |
| Â |
hostname | hostname | Â |
| Â |
addr | addr | Â |
| Â |
terminal | terminal | Â |
| Â |
res | res | Â |
| Â |
comm | comm | Â |
| Â |
reason | reason | Â |
| Â |
sig | sig | Â |
| Â |
dev | dev | Â |
| Â |
prom | prom | Â |
| Â |
old_prom | old_prom | Â |
| Â |
fver | fver | Â |
| Â |
fp | fp | Â |
| Â |
fi | fi | Â |
| Â |
fe | fe | Â |
| Â |
old_pp | old_pp | Â |
| Â |
old_pi | old_pi | Â |
| Â |
old_pe | old_pe | Â |
| Â |
old_pa | old_pa | Â |
| Â |
pp | pp | Â |
| Â |
pi | pi | Â |
| Â |
pe | pe | Â |
| Â |
pa | pa | Â |
| Â |
grantors | grantors | Â |
| Â |
kind | kind | Â |
| Â |
direction | direction | Â |
| Â |
spid | spid | Â |
| Â |
suid | suid | Â |
| Â |
cipher | cipher | Â |
| Â |
ksize | ksize | Â |
| Â |
mac | mac | Â |
| Â |
pfs | pfs | Â |
| Â |
rport | rport | Â |
| Â |
laddr | laddr | Â |
| Â |
lport | lport | Â |
| Â |
cwd | cwd | Â |
| Â |
argc | argc | Â |
| Â |
a0 | a0 | Â |
| Â |
a1 | a1 | Â |
| Â |
a2 | a2 | Â |
| Â |
a3 | a3 | Â |
| Â |
tty | tty | Â |
| Â |
table | table | Â |
| Â |
family | family | Â |
| Â |
entries | entries | Â |
| Â |
item | item | Â |
| Â |
name | name | Â |
| Â |
inode | inode | Â |
| Â |
mode | mode | Â |
| Â |
ouid | ouid | Â |
| Â |
ogid | ogid | Â |
| Â |
rdev | rdev | Â |
| Â |
objtype | objtype | Â |
| Â |
cap_fp | cap_fp | Â |
| Â |
cap_fi | cap_fi | Â |
| Â |
cap_fe | cap_fe | Â |
| Â |
cap_fver | cap_fver | Â |
| Â |
proctitle | proctitle | Â |
| Â |
arch | arch | Â |
| Â |
syscall | syscall | Â |
| Â |
compat | compat | Â |
| Â |
ip | ip | Â |
| Â |
code | code | Â |
| Â |
unit | unit | Â |
| Â |
saddr | saddr | Â |
| Â |
sw | sw | Â |
| Â |
sw_type | sw_type | Â |
| Â |
key_enforce | key_enforce | Â |
| Â |
gpg_res | gpg_res | Â |
| Â |
root_dir | root_dir | Â |
| Â |
success | success | Â |
| Â |
exit | exit | Â |
| Â |
items | items | Â |
| Â |
ppid | ppid | Â |
| Â |
euid | euid | Â |
| Â |
fsuid | fsuid | Â |
| Â |
egid | egid | Â |
| Â |
sgid | sgid | Â |
| Â |
fsgid | fsgid | Â |
| Â |
key | key | Â |
| Â |
new_level | new_level | Â |
| Â |
old_level | old_level | Â |
| Â |
cmd | cmd | Â |
| Â |
user | user | Â |
| Â |
ctr_id_short | ctr_id_short | Â |
| Â |
vm_pid | vm_pid | Â |
| Â |
vm | vm | Â |
| Â |
hostchain | hostchain | Â |
| ✓ |
tag | tag | Â |
| ✓ |
rawMessage | rawMessage | Â |
| ✓ |
box.audit.unix.auditd
Field in union table | Field in source table | Field transformation | Type | Extra fields |
---|---|---|---|---|
eventdate | eventdate | Â |
| Â |
source | - | 'auditd' |
| Â |
machine | machine | Â |
| Â |
node | - | null('') |
| Â |
type | type | Â |
| Â |
audit_timestamp | audit_timestamp | Â |
| Â |
audit_id | audit_id | Â |
| Â |
pid | pid | Â |
| Â |
uid | uid uid_2 |
| Â | |
gid | gid | Â |
| Â |
auid | auid_2 auid |
| Â | |
ses | ses | Â |
| Â |
old_auid | old_auid | Â |
| Â |
old_ses | old_ses | Â |
| Â |
op | op | Â |
| Â |
opType | opType | Â |
| Â |
acct | acct | Â |
| Â |
id | id | Â |
| Â |
exe | exe | Â |
| Â |
hostname | msg_hostname | Â |
| Â |
addr | msg_addr | Â |
| Â |
terminal | terminal | Â |
| Â |
res | res msg_res |
| Â | |
comm | comm | Â |
| Â |
reason | reason | Â |
| Â |
sig | sig | Â |
| Â |
dev | dev | Â |
| Â |
prom | prom | Â |
| Â |
old_prom | old_prom | Â |
| Â |
fver | - |
| Â | |
fp | fp | Â |
| Â |
fi | - |
| Â | |
fe | - |
| Â | |
old_pp | - |
| Â | |
old_pi | - |
| Â | |
old_pe | - |
| Â | |
old_pa | - |
| Â | |
pp | - |
| Â | |
pi | - |
| Â | |
pe | - |
| Â | |
pa | - |
| Â | |
grantors | grantors | Â |
| Â |
kind | kind | Â |
| Â |
direction | direction | Â |
| Â |
spid | spid | Â |
| Â |
suid | suid | Â |
| Â |
cipher | cipher | Â |
| Â |
ksize | ksize | Â |
| Â |
mac | mac | Â |
| Â |
pfs | pfs | Â |
| Â |
rport | rport | Â |
| Â |
laddr | laddr | Â |
| Â |
lport | lport | Â |
| Â |
cwd | cwd | Â |
| Â |
argc | - |
| Â | |
a0 | a0 | Â |
| Â |
a1 | a1 | Â |
| Â |
a2 | a2 | Â |
| Â |
a3 | a3 | Â |
| Â |
tty | tty | Â |
| Â |
table | table | Â |
| Â |
family | family | Â |
| Â |
entries | entries | Â |
| Â |
item | item | Â |
| Â |
name | name | Â |
| Â |
inode | inode | Â |
| Â |
mode | mode | Â |
| Â |
ouid | ouid | Â |
| Â |
ogid | ogid | Â |
| Â |
rdev | rdev | Â |
| Â |
objtype | objtype | Â |
| Â |
cap_fp | cap_fp | Â |
| Â |
cap_fi | cap_fi | Â |
| Â |
cap_fe | cap_fe | Â |
| Â |
cap_fver | cap_fver | Â |
| Â |
proctitle | proctitle | Â |
| Â |
arch | arch | Â |
| Â |
syscall | syscall | Â |
| Â |
compat | - |
| Â | |
ip | - |
| Â | |
code | - |
| Â | |
unit | unit | Â |
| Â |
saddr | - |
| Â | |
sw | sw | Â |
| Â |
sw_type | sw_type | Â |
| Â |
key_enforce | key_enforce | Â |
| Â |
gpg_res | gpg_res | Â |
| Â |
root_dir | root_dir | Â |
| Â |
success | success | Â |
| Â |
exit | exit | Â |
| Â |
items | items | Â |
| Â |
ppid | ppid | Â |
| Â |
euid | euid | Â |
| Â |
fsuid | fsuid | Â |
| Â |
egid | egid | Â |
| Â |
sgid | sgid | Â |
| Â |
fsgid | fsgid | Â |
| Â |
key | key | Â |
| Â |
new_level | new_level | Â |
| Â |
old_level | old_level | Â |
| Â |
cmd | - |
| Â | |
user | - |
| Â | |
ctr_id_short | - |
| Â | |
vm_pid | - |
| Â | |
vm | - |
| Â | |
hostchain | hostchain | Â |
| ✓ |
tag | tag | Â |
| ✓ |
rawMessage | rawMessage | Â |
| ✓ |
box.unix
Field in union table | Field in source table | Field transformation | Type | Extra fields |
---|---|---|---|---|
eventdate | eventdate | Â |
| Â |
source | - |
| Â | |
machine | machine | Â |
| Â |
node | node | Â |
| Â |
type | auditType | Â |
| Â |
audit_timestamp | audit_timestamp | Â |
| Â |
audit_id | audit_id | Â |
| Â |
pid | pid | Â |
| Â |
uid | uid |
| Â | |
gid | gid | Â |
| Â |
auid | auid | Â |
| Â |
ses | ses | Â |
| Â |
old_auid | - |
| Â | |
old_ses | - |
| Â | |
op | op | Â |
| Â |
opType | type | Â |
| Â |
acct | user | Â |
| Â |
id | - |
| Â | |
exe | cmd | Â |
| Â |
hostname | hostname | Â |
| Â |
addr | addr | Â |
| Â |
terminal | terminal | Â |
| Â |
res | res | Â |
| Â |
comm | comm | Â |
| Â |
reason | - |
| Â | |
sig | - |
| Â | |
dev | dev | Â |
| Â |
prom | - |
| Â | |
old_prom | - |
| Â | |
fver | - |
| Â | |
fp | - |
| Â | |
fi | - |
| Â | |
fe | - |
| Â | |
old_pp | - |
| Â | |
old_pi | - |
| Â | |
old_pe | - |
| Â | |
old_pa | - |
| Â | |
pp | - |
| Â | |
pi | - |
| Â | |
pe | - |
| Â | |
pa | - |
| Â | |
grantors | grantors | Â |
| Â |
kind | - |
| Â | |
direction | - |
| Â | |
spid | - |
| Â | |
suid | suid | Â |
| Â |
cipher | - |
| Â | |
ksize | - |
| Â | |
mac | - |
| Â | |
pfs | - |
| Â | |
rport | - |
| Â | |
laddr | - |
| Â | |
lport | - |
| Â | |
cwd | cwd | Â |
| Â |
argc | - |
| Â | |
a0 | a0 | Â |
| Â |
a1 | a1 | Â |
| Â |
a2 | a2 | Â |
| Â |
a3 | a3 | Â |
| Â |
tty | tty | Â |
| Â |
table | - |
| Â | |
family | - |
| Â | |
entries | - |
| Â | |
item | item | Â |
| Â |
name | name | Â |
| Â |
inode | inode | Â |
| Â |
mode | mode | Â |
| Â |
ouid | ouid | Â |
| Â |
ogid | ogid | Â |
| Â |
rdev | rdev | Â |
| Â |
objtype | - |
| Â | |
cap_fp | cap_fp | Â |
| Â |
cap_fi | cap_fi | Â |
| Â |
cap_fe | cap_fe | Â |
| Â |
cap_fver | cap_fver | Â |
| Â |
proctitle | proctitle | Â |
| Â |
arch | arch | Â |
| Â |
syscall | syscall | Â |
| Â |
compat | - |
| Â | |
ip | - |
| Â | |
code | - |
| Â | |
unit | - |
| Â | |
saddr | - |
| Â | |
sw | - |
| Â | |
sw_type | - |
| Â | |
key_enforce | - |
| Â | |
gpg_res | - |
| Â | |
root_dir | - |
| Â | |
success | success | Â |
| Â |
exit | exit | Â |
| Â |
items | items | Â |
| Â |
ppid | ppid | Â |
| Â |
euid | euid | Â |
| Â |
fsuid | fsuid | Â |
| Â |
egid | egid | Â |
| Â |
sgid | sgid | Â |
| Â |
fsgid | fsgid | Â |
| Â |
key | key | Â |
| Â |
new_level | - |
| Â | |
old_level | - |
| Â | |
cmd | - |
| Â | |
user | user | Â |
| Â |
ctr_id_short | - |
| Â | |
vm_pid | - |
| Â | |
vm | - |
| Â | |
hostchain | hostchain | Â |
| ✓ |
tag | tag | Â |
| ✓ |
rawMessage | rawMessage | Â |
| ✓ |
Â