Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

smallinsky
Copy link
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
Copy link

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.

constants.go Outdated Show resolved Hide resolved
tool/tsh/common/tsh.go Outdated Show resolved Hide resolved
@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
39 checks passed
@smallinsky smallinsky deleted the smallinsky/tsh_okta_roles branch August 19, 2024 13:13
@public-teleport-github-review-bot

@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
backport/branch/v15 backport/branch/v16 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