osquery-1/specs/groups.table

14 lines
468 B
Plaintext
Raw Normal View History

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",
])