mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
a105924804
1. Example queries will run with an (optional) integration test. 2. Fix bad accesses with OS X package BOMs 3. Move spec files from ./osquery/tables/specs to ./specs 4. Remove server parsers (netlib) from client builds.
14 lines
468 B
Plaintext
14 lines
468 B
Plaintext
table_name("groups")
|
|
description("Local system groups.")
|
|
schema([
|
|
Column("gid", BIGINT, "Unsigned int64 group ID"),
|
|
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",
|
|
])
|