osquery-1/specs/utility/time.table
2015-07-15 23:23:42 -07:00

17 lines
781 B
Plaintext

table_name("time")
description("Track current date and time in the system.")
schema([
Column("weekday", TEXT, "Current weekday in the system"),
Column("year", INTEGER, "Current year in the system"),
Column("month", INTEGER, "Current month in the system"),
Column("day", INTEGER, "Current day in the system"),
Column("hour", INTEGER, "Current hour in the system"),
Column("minutes", INTEGER, "Current minutes in the system"),
Column("seconds", INTEGER, "Current seconds in the system"),
Column("unix_time", INTEGER, "Current unix time in the system"),
Column("timestamp", TEXT, "Current timestamp in the system"),
Column("iso_8601", TEXT, "Current time (iso format) in the system"),
])
attributes(utility=True)
implementation("time@genTime")