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 request search should support --format #41953

Open
programmerq opened this issue May 23, 2024 · 1 comment · May be fixed by #49072
Open

tsh request search should support --format #41953

programmerq opened this issue May 23, 2024 · 1 comment · May be fixed by #49072
Labels
access-requests feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Comments

@programmerq
Copy link
Contributor

What would you like Teleport to do?

tsh request search doesn't currently support -f, --format Format output (text, json, yaml, names).

This command should support the same formats that tsh ls, tsh db ls, tsh kube ls, etc all support.

What problem does this solve?

This will help power users, and make the tsh experience more uniform.

If a workaround exists, please include it.

There isn't a great workaround since the request search is different than what tctl get or those other tsh <command> ls commands do. Parsing the table output is not great.

@programmerq programmerq added feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport. access-requests labels May 23, 2024
@joaoubaldo joaoubaldo linked a pull request Nov 15, 2024 that will close this issue
@joaoubaldo
Copy link
Contributor

@programmerq @jimbishopp @rosstimothy we recently had to do some scripting around access requests and hit this limitation as well. A PR was opened in the meanwhile.
Any chance it can be reviewed soon? #49072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
access-requests feature-request Used for new features in Teleport, improvements to current should be #enhancements tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants