baton-google-workspace
is a connector for Google Workspace built using the Baton SDK. It communicates with the Google Workspace API to sync data about groups, roles, and users.
Check out Baton to learn more the project in general.
brew install conductorone/baton/baton conductorone/baton/baton-google-workspace
baton-google-workspace
baton resources
docker run --rm -v $(pwd):/out -e BATON_CUSTOMER_ID=customerID -e BATON_ADMINISTRATOR_EMAIL=administratorEmail -e BATON_CREDENTIALS_JSON_FILE_PATH=credentialsJsonFilePath
-e BATON_DOMAIN=domain ghcr.io/conductorone/baton-google-workspace:latest -f "/out/sync.c1z"
docker run --rm -v $(pwd):/out ghcr.io/conductorone/baton:latest -f "/out/sync.c1z" resources
go install github.com/conductorone/baton/cmd/baton@main
go install github.com/conductorone/baton-google-workspace/cmd/baton-google-workspace@main
BATON_CUSTOMER_ID=customerID BATON_ADMINISTRATOR_EMAIL=administratorEmail BATON_CREDENTIALS_JSON_FILE_PATH=credentialsJsonFilePath BATON_DOMAIN=domain
baton resources
baton-google-workspace
will pull down information about the following Google Workspace resources:
- Groups
- Users
- Roles
We started Baton because we were tired of taking screenshots and manually building spreadsheets. We welcome contributions, and ideas, no matter how small -- our goal is to make identity and permissions sprawl less painful for everyone. If you have questions, problems, or ideas: Please open a Github Issue!
See CONTRIBUTING.md for more details.
baton-google-workspace
Usage:
baton-google-workspace [flags]
baton-google-workspace [command]
Available Commands:
capabilities Get connector capabilities
completion Generate the autocompletion script for the specified shell
help Help about any command
Flags:
--administrator-email string An administrator email for the google workspace account. ($BATON_ADMINISTRATOR_EMAIL)
--client-id string The client ID used to authenticate with ConductorOne ($BATON_CLIENT_ID)
--client-secret string The client secret used to authenticate with ConductorOne ($BATON_CLIENT_SECRET)
--credentials-json string Json credentials for the google workspace account. Mutual exclusive with file path. ($BATON_CREDENTIALS_JSON)
--credentials-json-file-path string Json credentials file name for the google workspace account. Mutual exclusive with credentials JSON. ($BATON_CREDENTIALS_JSON_FILE_PATH)
--customer-id string The customer Id for the google workspace account. ($BATON_CUSTOMER_ID)
--domain string The domain for the google workspace account. ($BATON_DOMAIN)
-f, --file string The path to the c1z file to sync with ($BATON_FILE) (default "sync.c1z")
-h, --help help for baton-google-workspace
--log-format string The output format for logs: json, console ($BATON_LOG_FORMAT) (default "json")
--log-level string The log level: debug, info, warn, error ($BATON_LOG_LEVEL) (default "info")
-p, --provisioning This must be set in order for provisioning actions to be enabled. ($BATON_PROVISIONING)
-v, --version version for baton-google-workspace
Use "baton-google-workspace [command] --help" for more information about a command.