Skip to content

[v18] feat: Add filtering and sort to tctl bots instances ls#60569

Closed
nicholasmarais1158 wants to merge 1 commit intonicholasmarais1158/backport-59655-branch/v18from
nicholasmarais1158/backport-60273-branch/v18
Closed

[v18] feat: Add filtering and sort to tctl bots instances ls#60569
nicholasmarais1158 wants to merge 1 commit intonicholasmarais1158/backport-59655-branch/v18from
nicholasmarais1158/backport-60273-branch/v18

Conversation

@nicholasmarais1158
Copy link
Copy Markdown
Contributor

Backport #60273 to branch/v18

Updates: #55926
Changelog: Added filter and sort flags to tctl bots instances ls

* Fix missing `--format` flag

* Use v2 rpc

* Add `--search` flag

* Add `--query` flag

* Add `--sort-index` and `--sort-order` flags

* Remove `generation` and add `version` fields to output

* Allow enabling the auth cache for the test process

* Add list bot instances tests

* Sync join method access logic between tctl and web

* Access `authentication.JoinMethod` safely

* Unhide `--format` flag

* Simplify version header label

* Fallback to v1 ListBotInstances

* Refactor to remove use of `authclient.ClientI`

* A way better fallback implementation 🙌

* typo 🙄

* Refactor to single interface
# Conflicts:
#	tool/tctl/common/bots_command.go
@nicholasmarais1158 nicholasmarais1158 self-assigned this Oct 24, 2025
@nicholasmarais1158 nicholasmarais1158 marked this pull request as ready for review October 24, 2025 15:01
@github-actions github-actions bot requested review from eriktate and kiosion October 24, 2025 15:02
@github-actions github-actions bot added size/md tctl tctl - Teleport admin tool labels Oct 24, 2025
@nicholasmarais1158
Copy link
Copy Markdown
Contributor Author

Superseded by #60761.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants