osquery-1/specs/darwin/authorizations.table

24 lines
1.1 KiB
Plaintext
Raw Normal View History

table_name("authorizations")
description("OS X Authorization rights database.")
schema([
Column("label", TEXT, "Item name, usually in reverse domain format",
index=True),
Column("modified", TEXT, "Label top-level key"),
Column("allow_root", TEXT, "Label top-level key"),
Column("timeout", TEXT, "Label top-level key"),
Column("version", TEXT, "Label top-level key"),
Column("tries", TEXT, "Label top-level key"),
Column("authenticate_user", TEXT, "Label top-level key"),
Column("shared", TEXT, "Label top-level key"),
Column("comment", TEXT, "Label top-level key"),
Column("created", TEXT, "Label top-level key"),
Column("class", TEXT, "Label top-level key"),
Column("session_owner", TEXT, "Label top-level key"),
])
implementation("system/darwin/authorizations@genAuthorizations")
examples([
"select * from authorizations;",
"select * from authorizations where label = 'system.login.console';",
"select * from authorizations where label = 'authenticate';",
"select * from authorizations where label = 'system.preferences.softwareupdate';"
])