osquery-1/specs/posix/last.table
2016-09-13 20:37:31 -07:00

16 lines
492 B
Plaintext

table_name("last")
description("System logins and logouts.")
schema([
Column("username", TEXT, "Entry username"),
Column("tty", TEXT, "Entry terminal"),
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"),
])
attributes(cacheable=True)
implementation("last@genLastAccess")
fuzz_paths([
"/var/log/wtmpx",
])