Skip to content

Directory Groups Commands

directory-groups

View directory groups.

Usage:

directory-groups [OPTIONS] COMMAND [ARGS]...

Options:

  --log-stderr      Enable logging to stderr.
  --log-file TEXT   Specify file path to write log output to.
  --log-level TEXT  Set level for Incydr client logging.
  --help            Show this message and exit.

directory-groups list

Retrieve directory group information that has been pushed to Code42 from SCIM or User Directory Sync.

The results can then be used with the watchlists commands to automatically assign users to watchlists by directory group.

Usage:

directory-groups list [OPTIONS]

Options:

  -f, --format TABLEFORMAT  Format to print result. One of 'table', 'json-
                            pretty', 'json-lines', or 'csv. If environment has
                            INCYDR_USE_RICH=false set, defaults to 'json-
                            lines', else defaults to 'table'.
  --name TEXT               Filter by directory groups with a matching name.
  --log-stderr              Enable logging to stderr.
  --log-file TEXT           Specify file path to write log output to.
  --log-level TEXT          Set level for Incydr client logging.
  --help                    Show this message and exit.