osquery-1/specs/last.table

13 lines
453 B
Plaintext
Raw Normal View History

2014-09-04 22:20:28 +00:00
table_name("last")
description("System logins and logouts.")
2014-09-04 22:20:28 +00:00
schema([
Column("username", TEXT, "Entry username"),
Column("tty", TEXT, "Entry terminal"),
2015-02-10 02:18:22 +00:00
Column("pid", INTEGER, "Process (or thread) ID"),
Column("type", INTEGER, "Entry type, according to ut_type types (utmp.h)"),
Column("time", INTEGER, "Entry timestamp"),
Column("host", TEXT, "Entry hostname"),
2014-09-04 22:20:28 +00:00
])
attributes(cachable=True)
implementation("last@genLastAccess")