gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.5k stars 1.75k forks source link

Include labels in tctl inventory output #44955

Open bernardjkim opened 2 months ago

bernardjkim commented 2 months ago

What would you like Teleport to do?

It would be nice if tctl inventory ls outputs labels, and/or can be filtered by labels.

What problem does this solve?

This is a UX improvement to help users identify the version and automatic updates status of certain subsets of Teleport instances.

If a workaround exists, please include it.

The command supports tctl {node|kube|...} ls commands that do output labels, but they do not include automatic updates status. Users need to match the hostname or UUID of both commands to get the full status.

stevenGravy commented 2 months ago

I think the challenge here would be outside of Node services you can have multiple labels per service. This would require listing all of the associated resources and their labels. Not sure if something else was in mind but a db service could have multiple databases with diff labels for example.