### Example Bug Report Configuration Source: https://github.com/fwdcloudsec/granted/blob/main/CONTRIBUTING.md This is an example of the AWS config file content to include when reporting a bug. Sensitive information like account IDs and SSO start URLs should be redacted. ```ini [profile PROFNAME] sso_start_url=*** sso_region=ap-southeast-2 sso_account_id=*** sso_role_name=ROLE_NAME region=ap-southeast-2 credential_process=aws-sso-credential-process --profile PROFNAME ``` -------------------------------- ### Build Granted CLI Source: https://github.com/fwdcloudsec/granted/blob/main/CONTRIBUTING.md Run this command to build the Granted CLI tools. The binaries will be available on your PATH. ```bash make cli ``` -------------------------------- ### Logging with Clio in Go Source: https://github.com/fwdcloudsec/granted/blob/main/CONTRIBUTING.md Use the clio library for logging informational messages in Go. Ensure the library is configured correctly in the entry point of your application. ```go clio.Info("hello") clio.Warn("hello") clio.Success("hello") clio.Error("hello") clio.Error("hello") ``` -------------------------------- ### Debug Assume Configuration Source: https://github.com/fwdcloudsec/granted/blob/main/CONTRIBUTING.md Configure your VS Code launch.json to debug the 'assume' functionality. Set environment variables to enable debug logging and force the CLI. ```json { "name": "assume", "type": "go", "request": "launch", "mode": "auto", "program": "${workspaceFolder}/cmd/granted/main.go", "args": [""], "cwd": "${workspaceFolder}", "console": "integratedTerminal", "env": { "GRANTED_LOG": "debug", "FORCE_ASSUME_CLI": "true", "GRANTED_ALIAS_CONFIGURED": "true" } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.