mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
d4a3fe2452
Preparation for Windows Tables. We need a Windows process table so that the daemon will run
14 lines
480 B
Plaintext
14 lines
480 B
Plaintext
table_name("groups")
|
|
description("Local system groups.")
|
|
schema([
|
|
Column("gid", BIGINT, "Unsigned int64 group ID", index=True),
|
|
Column("gid_signed", BIGINT, "A signed int64 version of gid"),
|
|
Column("groupname", TEXT, "Canonical local group name"),
|
|
])
|
|
implementation("groups@genGroups")
|
|
examples([
|
|
"select * from groups where gid = 0",
|
|
# Group/user_groups is not JOIN optimized
|
|
#"select g.groupname, ug.uid from groups g, user_groups ug where g.gid = ug.gid",
|
|
])
|