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

[v16] backport common decision service elements #51611

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

fspmarshall
Copy link
Contributor

Backport #49875, #49912, #50308, and #50481 to branch/v16.

Explanation: initial development of the decision service happened only on master, but we are starting to make changes to code outside of the decision packages. Some of these changes will be significant enough that not backporting them to all release branches would cause an unacceptable level of divergence and lead to significant issues for unrelated backports going forward.

codingllama and others added 5 commits January 29, 2025 10:01
* Clone protos from fspmarshall/pdp-work-02

* Use decisionpb as the Go package alias

* Update DecisionService docs

* Split identity protos into separate files

* Update Metadata docs

* Split metadata into separate files

* Update Resource docs

* Update database access docs and fields

* Update SSH access docs and fields

* Ignore breaking changes on decision protos

* Update generated protos

* Use teleport.trait.v1.Trait

* Document mutual dependency between "ResourceID" types

* nit: s/ResourceID/ResourceId

* nit: Use the correct CamelCase field name in comments

* Update generated protos

* Add RouteToApp.target_port

* Update generated protos

* Update comments on TLSIdentity / tlsca.Identity

* Update generated protos
* Add the decisionv1.Service boilerplate

* Wire decisionv1.Service to auth.GRPCServer

* Wire decisionpb.DecisionServiceClient to client.Client

* Add basic service testing
* Add conversions to/from decisionpb.TLSIdentity

* Map timestamppb.Timestamp{} to 0-0-0 0:0.0 (instead of unix epoch)

* Document that slices are not deep-copied
* Add EvaluateDatabaseAccessRequest.database

* Update generated protos
@fspmarshall fspmarshall added the no-changelog Indicates that a PR does not require a changelog entry label Jan 29, 2025
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from nklaassen January 29, 2025 19:13
@fspmarshall fspmarshall added this pull request to the merge queue Jan 29, 2025
Merged via the queue into branch/v16 with commit 61660c0 Jan 29, 2025
44 of 45 checks passed
@fspmarshall fspmarshall deleted the fspmarshall/pdp-common-backport-v16 branch January 29, 2025 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/lg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants