fleet/schema/tables/groups.yml

28 lines
605 B
YAML
Raw Normal View History

name: groups
examples: |-
See all groups with the `IsHidden` OpenDirectory attribute:
```
SELECT * FROM groups WHERE is_hidden='1';
```
Collect the users that are members of the `admin` group:
```
SELECT * FROM groups JOIN user_groups USING (gid) JOIN users USING (uid) WHERE groupname='admin';
```
columns:
- name: group_sid
platforms:
- windows
- name: comment
platforms:
- windows
- name: is_hidden
platforms:
- darwin
- name: pid_with_namespace
platforms:
- linux
notes: "* On Windows, `gid` and `gid_signed` are always the same"