Commit Graph
7 Commits
Author SHA1 Message Date
Jakub Nyckowski 0ee91f6c37 Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
Lisa Kim 92120a281a Rename web JSON field names and wrap traits (#14611) 2022-07-19 18:44:53 +00:00
Marco André Dinis af2d9c56ea WebAPI: return user traits (#14138)
* WebAPI: read user

We currently need to fetch the whole list of users to get User's
information.
Adding more fields increases the probabilty of having performance
issues.

This PR adds a new endpoint which returns a single user.
This endpoint returns the information we already return when listing
users but also returns the user's traits

This is a follow up of
https://github.com/gravitational/teleport/pull/14076

The following traits are returned:
- Logins
- DB Users
- DB Names
- Kube Users
- Kube Groups
- Windows Logins
- AWS Role ARNs
2022-07-13 10:06:34 +00:00
Brian Joerger 9b8b9d6d0c rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
Brian Joerger c040aca4c1 Upgrade api version. (#7609) 2021-07-28 13:51:21 -07:00
Brian Joerger 7bff7c41bd Remove API aliases (#6983) 2021-06-04 13:29:31 -07:00
Lisa Kim 2669e7aef2 Open source UI users, roles, github cn, trusted cluster (#5540)
* Transferred user endpoints/handlers from e
* Transferred and refactored endpoints/handlers for roles, trusted clusters, and github cn from e
* Export ok() func so e can use
* Silence rbac auth connector access denials on first check failure
* Update e-ref
2021-02-22 08:54:36 -08:00