osquery-1/specs/darwin/authorizations.table

28 lines
1.2 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([
2016-09-14 03:37:31 +00:00
"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';"
])
fuzz_paths([
"/System/Library/Security/authorization.plist",
])