sailpoint-oss / sailpoint-cli

The SailPoint Command Line Interface (CLI) makes it easy to interact with SailPoint's SaaS Platform in a programmatic way. Many functions that use to be accomplished through tools like Postman or from custom scripts can now be done directly on the command line with minimal setup.
https://developer.sailpoint.com/discuss
MIT License
25 stars 19 forks source link

Updating troubleshoot.go to read config.yaml if it exists for "tenant… #39

Closed ruben-elizondo-sp closed 1 year ago

ruben-elizondo-sp commented 1 year ago

…-test" and "api-test" curl calls instead of assuming identitynow.com to account for identitynow-demo.com and vanity urls.

Tenant Type will default to identitynow.com in the absence of a config.yaml file

Description

What is the intent of this change and why is it being made? Accounting for tenants besides the default "idenditynow.com" in the troubleshooting.go file.

How Has This Been Tested?

What testing have you done to verify this change? Tested without config.yaml file and with both pat and oath authTypes.

ghost commented 1 year ago

Ruben and I spoke about this PR previously