mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-06 09:35:20 +00:00
13 lines
453 B
Plaintext
13 lines
453 B
Plaintext
table_name("logged_in_users")
|
|
description("Users with an active shell on the system.")
|
|
schema([
|
|
Column("type", TEXT, "Login type"),
|
|
Column("user", TEXT, "User login name"),
|
|
Column("tty", TEXT, "Device name"),
|
|
Column("host", TEXT, "Remote hostname"),
|
|
Column("time", INTEGER, "Time entry was made"),
|
|
Column("pid", INTEGER, "Process (or thread) ID"),
|
|
])
|
|
attributes(cacheable=True)
|
|
implementation("logged_in_users@genLoggedInUsers")
|