osquery-1/specs/logged_in_users.table
Teddy Reed a105924804 Move specs to a top-level path, add query examples
1. Example queries will run with an (optional) integration test.
2. Fix bad accesses with OS X package BOMs
3. Move spec files from ./osquery/tables/specs to ./specs
4. Remove server parsers (netlib) from client builds.
2015-06-03 10:39:05 -07:00

11 lines
386 B
Plaintext

table_name("logged_in_users")
description("Users with an active shell on the system.")
schema([
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"),
])
implementation("logged_in_users@genLoggedInUsers")