Skip to content

tsh UI: Squash Okta roles in tsh login output#45366

Merged
smallinsky merged 3 commits intomasterfrom
smallinsky/tsh_okta_roles
Aug 19, 2024
Merged

tsh UI: Squash Okta roles in tsh login output#45366
smallinsky merged 3 commits intomasterfrom
smallinsky/tsh_okta_roles

Conversation

@smallinsky
Copy link
Copy Markdown
Contributor

@smallinsky smallinsky commented Aug 12, 2024

What

Improve the readability of the tsh login output by squashing Okta roles.

When Okta integration is enabled, Teleport creates roles that represent Okta apps or groups and assigns users to these roles based on their Okta app/group membership.

It’s common for the number of Okta app groups to exceed 100, which can clutter the output. To enhance readability, the tsh login output now squashes Okta roles into a summary line such as and %v more Okta access list roles ....

Users can still view the full list of roles by using the (debug) -d flag or the --output=json option, which prints all roles.

changelog: tsh UI: Squash Okta roles in tsh login output

@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Aug 12, 2024
@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

Comment thread constants.go Outdated
Comment thread tool/tsh/common/tsh.go Outdated
@smallinsky smallinsky force-pushed the smallinsky/tsh_okta_roles branch from 69a53f2 to a8de950 Compare August 19, 2024 11:24
@smallinsky smallinsky added this pull request to the merge queue Aug 19, 2024
Merged via the queue into master with commit eef300a Aug 19, 2024
@smallinsky smallinsky deleted the smallinsky/tsh_okta_roles branch August 19, 2024 13:13
@public-teleport-github-review-bot
Copy link
Copy Markdown

@smallinsky See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants