This is is a command-line tool to check and validate some functionalities implemented in idpscim.
The Idea of this tools is check the configuration you will implement in the idpscim program, like the filter used for Google Workspace Groups and Users and the inventory of users and goups in both sides.
./idpscimcli --help
This is a Command-Line Interfaced (CLI) to help you validate and check your source and target Single Sign-On endpoints.
Check your AWS Single Sign-On (SSO) / Google Workspace Groups users and groups and validate your filters over Google Workspace users and groups.
Usage:
idpscimcli [command]
Available Commands:
aws AWS SSO SCIM commands
completion Generate the autocompletion script for the specified shell
gws Google Workspace commands
help Help about any command
Flags:
-c, --config-file string configuration file (default ".idpscim.yaml")
-d, --debug enable log debug level
-h, --help help for idpscimcli
-f, --log-format string set the log format (default "text")
-l, --log-level string set the log level (default "info")
--output-format string output format (json|yaml) (default "json")
--timeout duration requests timeout (default 10s)
-v, --version version for idpscimcli
Use "idpscimcli [command] --help" for more information about a command.To build the project in local, you will need to have installed and configured at least the following:
Then you will need to clone the repository in your local machine, and execute the following commands:
- Compile for your Operating System:
makethen the binaries are in build/ folder.
Cross-compilingthe project forWindows,MacOSandLinux(default)
make clean
make test # optional
make build-distthen the binaries are in dist/ folder.
- Others Operating Systems, see the list of supported platforms in the syslist.go
make clean
GO_OS=<something from goosList in syslist.go> GO_ARCH=<something from goarchList in syslist.go> make test # optional
GO_OS=<something from goosList in syslist.go> GO_ARCH=<something from goarchList in syslist.go> make build-distthen the binaries are in dist/ folder.
- Execute
./idpscimcli --helpthis is a WIP
Test and build the Docker image
make test
make container-buildExecute
docker run -it -v $HOME/tmp/idpscim.yaml:/app/.idpscim.yaml ghcr.io/slashdevops/idp-scim-sync-linux-arm64v8 idpscimcli --debug