teleport/api
Tiago Silva 7b49931edb
Prevent creating Kube resources forbidden by kubernetes_resources (#29248)
* Prevent creating Kube resources forbidden by `kubernetes_resources`

This PR prevents users from creating resources that their user is
forbidden to access.

This requires parsing the request body to extract the resource name.

Fixes #29245

* Update lib/kube/proxy/forwarder.go

Co-authored-by: Michael Wilson <mike@mdwn.dev>

---------

Co-authored-by: Michael Wilson <mike@mdwn.dev>
2023-07-18 18:54:26 +00:00
..
breaker Update jonboulle/clockwork to 0.4.0 (#24099) 2023-04-13 20:04:38 +00:00
client Add the AccessList to the cache. (#29119) 2023-07-18 15:29:22 +00:00
constants Add support for automatic database users for Postgres (#25614) 2023-05-18 23:22:14 +00:00
defaults Allow configuring number of parallel execution workers (#28151) 2023-07-12 12:53:48 +00:00
fixtures Move ALPN dialer, ALPN conn upgrade, Ping conn to api (#23860) 2023-04-03 14:16:30 +00:00
gen/proto/go Record os_build_supplemental in the DeviceProfile (#29229) 2023-07-18 13:50:31 +00:00
identityfile Client store generalization (#19420) 2023-01-06 01:34:04 +00:00
internalutils upgrader monitoring and alerts (#28951) 2023-07-17 14:42:27 +00:00
metadata Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
observability/tracing Reduce login latency (#28499) 2023-07-05 15:51:56 +00:00
profile Fix an issue kube local proxy requirement is wrong in separate port mode (#27634) 2023-06-12 13:49:09 +00:00
proto Add the AccessList to the cache. (#29119) 2023-07-18 15:29:22 +00:00
testhelpers Fix an issue ALPN handshake test does not respect "HTTPS_PROXY" (#27583) 2023-06-13 15:30:48 +00:00
types Prevent creating Kube resources forbidden by kubernetes_resources (#29248) 2023-07-18 18:54:26 +00:00
utils assist: support recording non-interactive forwarded sessions (#28677) 2023-07-14 15:03:57 +00:00
go.mod Update Teleport API (#28589) 2023-07-18 18:29:15 +00:00
go.sum Update Teleport API (#28589) 2023-07-18 18:29:15 +00:00
import_compute.go Batched Dependabot updates (#28007) 2023-06-20 17:58:13 +00:00
version.go Bump dev version to 14 (#24704) 2023-04-18 06:49:34 +00:00